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'
)
[REQUIRED]
The app ID.
[REQUIRED]
The session ID.
dict
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