Delete User

Permanently delete a user and all their associated data.

DELETE /api/v1/users/{id}
Authentication
Bearer Token
Version
v1
Section
Users
Tags
users delete

Permanently deletes a user and all their associated resources. This action cannot be undone.

Path Parameters * required

NameTypeRequiredDescription
id*stringThe unique identifier of the user to delete.

Request Headers

HeaderTypeRequiredDescription
Authorization*stringBearer token with users:delete scope.

Responses

StatusDescription
204User deleted successfully. No body returned.
401Unauthorized.
403Forbidden. Insufficient permissions.
404User not found.

Examples

curl -X DELETE "https://api.example.com/v1/users/usr_abc123" \
  -H "Authorization: Bearer YOUR_TOKEN"
const res = await fetch('/api/v1/users/usr_abc123', {
  method: 'DELETE',
  headers: { 'Authorization': 'Bearer YOUR_TOKEN' }
});
if (res.status === 204) {
  console.log('User deleted');
}
import requests

r = requests.delete(
    'https://api.example.com/v1/users/usr_abc123',
    headers={'Authorization': 'Bearer YOUR_TOKEN'}
)
assert r.status_code == 204