Users
Delete user
Deletes a user and all their data. Cannot delete yourself or the last admin user.
ProductionStagingUAT
DELETEhttps://ankiren.com/api/admin/users/{id}
Parameters
Path Parameters
- idstringpathRequired
User ID
Responses
200 · User deleted successfully
- successboolean
application/json
{ "success": true }
Sample Code
Đổi ngôn ngữ ở ô Language trên thanh Documentation.
cURL
curl -X DELETE 'https://ankiren.com/api/admin/users/user_123' \ -H 'Authorization: Bearer <token>' \ -H 'Accept: application/json'