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-detail#delete-project

Request

Parameters

Name In Type Description
project_id path string The project ID.

Example

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

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.