DELETE users - ocariot/api-gateway GitHub Wiki
Description
This route makes it possible to exclude users from the platform.
Permissions:
- Only Admin user can delete any user except himself.
Scope
users:delete
URL
Parameters
user_id: string (A 24-byte hex ID)
Curl example
curl -X DELETE "https://localhost/v1/users/5a62be07de34500146d9c544" -H "accept: /" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response body
-
204
Operation performed successfully. There is no data to be returned. -
400
Validation errors -
403
Permission Error