Delete User

Permanently delete a user and all their data from Alarik.
EndpointMethodAdmin Required
/api/v1/admin/users/:userIdDELETEYes

Permanently deletes a user and all associated data.

This action is irreversible. All user data including buckets, objects, and access keys will be permanently deleted.

Path Parameters

userId
string (UUID) required
The unique identifier of the user to delete.

Response

Returns 204 No Content on success.

Errors

StatusReason
400Invalid user ID format
403Cannot delete yourself
404User not found

What Gets Deleted

When a user is deleted, the following are also removed:

  • All buckets owned by the user (including files on disk)
  • All objects within those buckets
  • All access keys associated with the user
  • Related cache entries