Delete Account User
Deletes a specific user from your account. The deleted user's status will be set to Disabled and their record will be returned in the response.
Endpoint
DELETE
v5/accountuser/{user_id}
Requires authentication. Accessible to Account Administrator users only.
Path Parameters
The user to delete.
user_id
string
required
The ID of the account user to delete.
Response
Returns the deleted user's record with their status set to Disabled.
result_ok
boolean
Whether the request succeeded.
data
object
The account user record after deletion. See Get Account User for the full list of response fields.
child attributes
id
string
The unique ID of the deleted user.
status
string
The user's account status after deletion. Returns
Disabled.Examples
Request (cURL)
curl -X DELETE "https://api.alchemer.com/v5/accountuser/YOUR_USER_ID?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
"result_ok": true,
"data": {
"id": "YOUR_USER_ID",
"username": "test",
"email": "user@example.com",
"admin": 0,
"phone_support": 0,
"userdata": [],
"license": "",
"defaultteam": false,
"status": "Disabled",
"last_login": null,
"api_key": null,
"api_secret": null
}
}