3.5. 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

3.5.1. Request

3.5.1.1. Parameters

Name In Type Description
user_id path string The user ID.

3.5.1.2. Example

# curl -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:5000/v3/users/785ddfee5005496ab9a332f4de2f30b6

3.5.2. Response

3.5.2.1. Status codes

3.5.2.1.1. Success

Code Reason
204 - No Content The server has fulfilled the request.

3.5.2.1.2. 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.