Logo

Getting Started

IntroductionAuthentication

OTP

POSTRequest OTPPOSTVerify OTPDELETERevoke OTPGETGet TokenGETGet OTP by Recipient

Lists

GETGet contact listGETGet rowPOSTCreate rowPATCHUpdate rowDELETEDelete row
Logo
DocumentationAPI ReferenceChangelog

OTP

Revoke OTP

Revoke an OTP token to invalidate it

Request

curl -X DELETE "https://api.simpu.co/otp/{id}"

Response

DELETE

/otp/{id}

Request Parameters

PATHParameters
id
stringrequired
ID of OTP to revoke

Response

application/json

unexpected error

status
integerrequired
Example: 200
message
stringrequired
Example: "Invalid request"
errors
object[]
No description provided
field
string
Example: "name"
message
string
Example: "Error in field: 'name' Field required."
type
string
Example: "missing"

Built with Chakra UI

Request

curl -X DELETE "https://api.simpu.co/otp/{id}"

Response