Remove Space from the Space Quota Definition
DELETE /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
DELETE /v2/space_quota_definitions/2328df90-1645-44d8-a7fd-d53d9e765f8b/spaces/ca2692a2-0ab6-4b10-a321-1aaae25cf69d
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space Quota Definition
|
|
|
space_guid
|
The guid of the space
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/space_quota_definitions/2328df90-1645-44d8-a7fd-d53d9e765f8b/spaces/ca2692a2-0ab6-4b10-a321-1aaae25cf69d" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOCIsImVtYWlsIjoiZW1haWwtMTQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzZ9.S_RaZN4NP3XXjFXNoCaPf--6lYDffJOIl_uvX21frLc" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "2328df90-1645-44d8-a7fd-d53d9e765f8b",
"url": "/v2/space_quota_definitions/2328df90-1645-44d8-a7fd-d53d9e765f8b",
"created_at": "2015-09-11T18:38:56Z",
"updated_at": null
},
"entity": {
"name": "name-686",
"organization_guid": "45def2cb-8116-4778-a00d-430f19f65e34",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/45def2cb-8116-4778-a00d-430f19f65e34",
"spaces_url": "/v2/space_quota_definitions/2328df90-1645-44d8-a7fd-d53d9e765f8b/spaces"
}
}
Headers