2.10. Deleting projects

DELETE /v3/projects/{project_id}

Delete a project with the specified ID.

Source: https://docs.openstack.org/api-ref/identity/v3/index.html?expanded=#delete-project

2.10.1. Request

2.10.1.1. Parameters

Name In Type Description
project_id path string The project ID.

2.10.1.2. Example

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

2.10.2. Response

2.10.2.1. Status codes

2.10.2.1.1. Success

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

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