Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Delete merchant user

Removes a merchant user from the system. Supports both soft delete (default) and hard delete options

DELETE/api/v1/{team_slug}/{app_slug}/merchant-users/{user_id}
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

user_idstringrequired

Merchant user ID

Request body
requiredapplication/json

Delete merchant user payload

hard_deleteboolean
Responses
200

User deleted successfully

datastringrequired
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request (e.g. bad user ID format)

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
404

User not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X DELETE 'https://api.enad.io/api/v1/string/string/merchant-users/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "hard_delete": true
}'
Response
{
  "data": "string",
  "details": [
    "string"
  ],
  "success": true
}