Delete a user
DELETE {{baseUrl}}/api/admin/users/:userId?fullDeletion=<boolean>
Admin-only API to delete a user. If fullDeletion
is set, it deletes the user's identifiable information and files. Otherwise, it soft deletes the user by setting it's delete_date
value.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fullDeletion | string | Set to true for full deletion |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":"\u003cboolean\u003e","error":"\u003cstring\u003e"}