Deleting users
DELETE /v3/users/{user_id}
Delete a user with the specified ID.
Source: https://docs.openstack.org/api-ref/identity/v3/index.html?expanded=delete-user-detail#delete-user
Request
Parameters
Name | In | Type | Description |
---|---|---|---|
user_id
|
path | string | The user ID. |
Example
# curl -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \ https://<node_IP_addr>:5000/v3/users/785ddfee5005496ab9a332f4de2f30b6
Response
Status codes
Success
Code | Reason |
---|---|
204 - No Content
|
The server has fulfilled the request. |
Error
Code | Reason |
---|---|
400 - Bad Request
|
Some content in the request was invalid. |
401 - Unauthorized
|
User must authenticate before making a request. |
403 - Forbidden
|
Policy does not allow current user to do this operation. |
404 - Not Found
|
The requested resource could not be found. |