Api referenceEndpointsAdmin
Hard-delete an end user (instance admin, one tenant)
DELETE
DELETE /v1/users/{id} (deleteUser) for the tenant of tenant_id, run with an
instance admin key: the same body, parameters and answer as the tenant's own key
gets; a Location points at the admin route. Recorded in the caller's audit log
and, actor admin, in the tenant's.
See docs/admin-api.md.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
tenant_id*stringThe id of a tenant; any other value is a 404.
Format
uuidid*stringFormat
uuidDeletion accepted.
application/json- response
job_id*stringFormat
uuidcurl -X DELETE 'http://localhost:8080/v1/admin/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/users/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: Bearer ohs_sk_...'{ "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f"}