Revoke OTP
The revoke
requests requires an OTP transaction ID as a JSON encoded body. It revokes the OTP object of the specified OTP transaction ID and returns a success message if deleted.
An error message is returned if the transaction ID does not exist. After this request is made, other previous OTP request referencing the OTP transaction ID can no longer be verified successfully. This is because the OTP object would no longer exist.
Revoke OTP
DELETE
https://api.v1.simpu.co/otp/revoke
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Simpu |
Request Body
Name | Type | Description |
---|---|---|
transaction_id* | string | The |
Last updated