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'
)
[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.NotFoundExceptionAmplifyBackend.Client.exceptions.GatewayTimeoutExceptionAmplifyBackend.Client.exceptions.TooManyRequestsExceptionAmplifyBackend.Client.exceptions.BadRequestException