AmplifyBackend / Client / delete_token
delete_token#
- AmplifyBackend.Client.delete_token(**kwargs)#
- Deletes the challenge token based on the given appId and sessionId. - See also: AWS API Documentation - Request Syntax - response = client.delete_token( AppId='string', SessionId='string' ) - Parameters:
- AppId (string) – - [REQUIRED] - The app ID. 
- SessionId (string) – - [REQUIRED] - The session ID. 
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'IsSuccess': True|False } - Response Structure - (dict) – - 200 response - IsSuccess (boolean) – - Indicates whether the request succeeded or failed. 
 
 
 - Exceptions - AmplifyBackend.Client.exceptions.NotFoundException
- AmplifyBackend.Client.exceptions.GatewayTimeoutException
- AmplifyBackend.Client.exceptions.TooManyRequestsException
- AmplifyBackend.Client.exceptions.BadRequestException