Remove Space from the Space Quota Definition
DELETE /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
DELETE /v2/space_quota_definitions/28cd4a15-da4e-4a86-a544-90a6bfad8847/spaces/d8ea3685-2bd1-4e22-82d3-c6893343a05a
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space Quota Definition
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/space_quota_definitions/28cd4a15-da4e-4a86-a544-90a6bfad8847/spaces/d8ea3685-2bd1-4e22-82d3-c6893343a05a" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOSIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzQ4MDg0Nn0.u9MGY_bhDcFvF4lqgzEsCAexI2bVtfkPRDg2_WFxwp4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "28cd4a15-da4e-4a86-a544-90a6bfad8847",
"url": "/v2/space_quota_definitions/28cd4a15-da4e-4a86-a544-90a6bfad8847",
"created_at": "2015-03-20T18:27:26Z",
"updated_at": null
},
"entity": {
"name": "name-320",
"organization_guid": "447a45ef-226c-4f0d-9ca7-820710004d46",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/447a45ef-226c-4f0d-9ca7-820710004d46",
"spaces_url": "/v2/space_quota_definitions/28cd4a15-da4e-4a86-a544-90a6bfad8847/spaces"
}
}
Headers