DELETE
/v1/organizations/:organizationSlug/stores/:storeId/otp-users/:otpUserId
Copy to clipboard
Delete OTP user
Required Permission: mad.store.otpUsers.remove
Delete an existing OTP user
Request
Add parameter in header
authorization
Example:
Authorization: Bearer <token>
storeId
string
required
otpUserId
string
required
Responses
200 Response
application/json
status
boolean
required
data
object
required
delete
any
required
{
"status": true,
"data": {
"delete": "string"
}
}
400 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 6001,
"message": "Database Validation Error"
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}