Skip to main content
POST
/
merchant
/
user
/
delete
Delete User
curl --request POST \
  --url https://api.unibee.dev/merchant/user/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": 123,
  "forceDelete": true
}
'
{
  "code": 123,
  "data": {},
  "merchantId": 123,
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
userId
integer<int64>
required

UserId

forceDelete
boolean<bool>

Force delete, if true, will cancel all active subscriptions before deleting the user

Response

200 - application/json
code
integer<int>
data
object
merchantId
integer<int64>
message
string<string>
redirect
string<string>
requestId
string<string>