Skip to content

DeleteUser

Request

Delete user by specifying id or email. Either id or email is required. If both are provided then an error is returned. The user must have a token with valid permissions.

Security
AuthorizationHeader
Query
emailstring

Email of the user to delete

idstring

Id of the user to delete

curl -i -X DELETE \
  'https://apidoc.authmind.com/_mock/v1/docs/v1/user?email=string&id=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
errorsstring
successboolean
Response
{ "success": true }