Delete the user.
The user must no be the last admin within an organization.
If the user is the last administrator of an organization, an error code and the list of organizations in which the user is the last administrator are returned.
Path Parameters |
---|
userId uuid — REQUIRED |
Responses |
---|
204
User successfully deleted Schema — OPTIONAL |
---|
organizations object[] — OPTIONAL |
|
400
Bad Request (e.g. element not found or resource conflict). Schema — OPTIONAL |
---|
message string — OPTIONAL | timestamp date-time — OPTIONAL | traceId string — OPTIONAL | type string — OPTIONAL |
|
Schema — OPTIONAL |
---|
message string — OPTIONAL | timestamp date-time — OPTIONAL | traceId string — OPTIONAL | type string — OPTIONAL |
|
500
Internal server error (Internal service communication or process error). Schema — OPTIONAL |
---|
message string — OPTIONAL | timestamp date-time — OPTIONAL | traceId string — OPTIONAL | type string — OPTIONAL |
|