Delete a Workspace
Removes a workspace (“application”).
DELETE /openapi/v1/applications/{application_id}
Enforcement must be disabled on the workspace before it can be deleted.
If the workspace, or its clusters, are used on by other Applications (via a Provided Service relationship) this endpoint will return 422 Unprocessable Entity
. The returned Error object will contain a details
attribute with the count of dependent objects along with the ids of the first 10 of each type. This information can be used to locate and remove the blocking dependencies.
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
application_id |
string |
The unique identifier for the workspace. |
Response object: None
Sample python code
application_id = '5d02b493755f0237a3d6e078'
restclient.delete('/applications/%s' % application_id)