Remove Space from the Space Quota Definition
DELETE /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
DELETE /v2/space_quota_definitions/3fad18a6-7719-4383-916b-726c3cfebc23/spaces/3dc82984-b323-4227-89c5-de193318dd14
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/3fad18a6-7719-4383-916b-726c3cfebc23/spaces/3dc82984-b323-4227-89c5-de193318dd14" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NiIsImVtYWlsIjoiZW1haWwtMTM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Njd9.thLBQJBi6BPRxaAVoP1sJY4QGfwvtrWeAdWKb03-0aY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "3fad18a6-7719-4383-916b-726c3cfebc23",
"url": "/v2/space_quota_definitions/3fad18a6-7719-4383-916b-726c3cfebc23",
"created_at": "2015-03-03T00:51:07Z",
"updated_at": null
},
"entity": {
"name": "name-1192",
"organization_guid": "8fedaa76-0fd0-4e6c-a495-22dea5ee7351",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/8fedaa76-0fd0-4e6c-a495-22dea5ee7351",
"spaces_url": "/v2/space_quota_definitions/3fad18a6-7719-4383-916b-726c3cfebc23/spaces"
}
}
Headers