-------------------- Calls and returns data from API: auth/idexists, which returns True if the User_ID supplied exists, False if not. Returns: bool: Success flag (True/False) indicating the api call worked as expected. object: Response informa
(self, user_id:str )
| 515 | |
| 516 | |
| 517 | def auth_idexists(self, user_id:str ): |
| 518 | """-------------------- |
| 519 | Calls and returns data from API: auth/idexists, which returns True if the User_ID supplied exists, False if not. |
| 520 | |
| 521 | Returns: |
| 522 | bool: Success flag (True/False) indicating the api call worked as expected. |
| 523 | object: Response information from the Space and Time network, as list or dict(json). |
| 524 | """ |
| 525 | success, rtn = self.call_api('auth/idexists/{id}', False, SXTApiCallTypes.GET, path_parms={'id':user_id}) |
| 526 | return success, rtn if success else [rtn] |
| 527 | |
| 528 | |
| 529 | def auth_keys(self): |