Home
Version 3
Space Quota Definitions API

Space Quota Definitions API

Remove Space from the Space Quota Definition

DELETE /v2/space_quota_definitions/:guid/spaces/:space_guid

Request

Route

DELETE /v2/space_quota_definitions/fd978f09-fc6e-4a1c-b23f-75d874d4c161/spaces/ff673a2a-799b-4db7-af02-859092ed9ccc

Parameters

Name Description Valid Values Example Values
guid The guid of the Space Quota Definition

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMjA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDh9.ddjdiT7xxcS20aQ0xHRlbzVD9dxue9ZXVtlVqqj-Kvg
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/fd978f09-fc6e-4a1c-b23f-75d874d4c161/spaces/ff673a2a-799b-4db7-af02-859092ed9ccc" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMjA2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDh9.ddjdiT7xxcS20aQ0xHRlbzVD9dxue9ZXVtlVqqj-Kvg" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "fd978f09-fc6e-4a1c-b23f-75d874d4c161",
    "url": "/v2/space_quota_definitions/fd978f09-fc6e-4a1c-b23f-75d874d4c161",
    "created_at": "2015-04-15T00:55:48Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1879",
    "organization_guid": "58f0495a-2f35-4995-8cf8-ffed81bca689",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/58f0495a-2f35-4995-8cf8-ffed81bca689",
    "spaces_url": "/v2/space_quota_definitions/fd978f09-fc6e-4a1c-b23f-75d874d4c161/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 19947d26-ba0d-46a9-98e9-897dfdb0b023
Content-Length: 654
X-Content-Type-Options: nosniff