DELETE/api/admin/users/{uid}Admin

Delete a user

Permanently deletes a user account. Organizations whose only remaining member was this user are deleted with it (cascading to their apps, API servers, memberships and invitations). Administrators cannot delete their own account here.

operationId delete_api_admin_users_uidAdministration

Authentication & permissionsAdmin

Platform administrators only

Accepted credentials
Who may call
Platform administrators only

Path parameters

NameTypeDescription
uid*string (uuid)

uid of the user to delete

Responses

application/json
ResourceCreationResponse
PropertyTypeDescription
success*true
message*string
resource_id*string

Identifier of the created / affected resource

JSONExample
"success"true
"message""string"
"resource_id""string"

Example request

bashcurl
curl -X DELETE 'https://auth.schemavaults.com/api/admin/users/<uid>' \
  -b 'refresh_token_<auth_server_app_id>=<value>'