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

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOSIsImVtYWlsIjoiZW1haWwtMTc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzR9.BBG3MHyeYlgafbJVL6VkyBa6QUiZzQeoU813H0sBalY
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/space_quota_definitions/fad59eb8-2ff0-4072-8684-fea22a59d53b/spaces/1f97f8f8-bacc-49b3-b03e-406da71a781b

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/fad59eb8-2ff0-4072-8684-fea22a59d53b/spaces/1f97f8f8-bacc-49b3-b03e-406da71a781b" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOSIsImVtYWlsIjoiZW1haWwtMTc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzR9.BBG3MHyeYlgafbJVL6VkyBa6QUiZzQeoU813H0sBalY" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8ca4d5cc-75fe-4f4b-9008-649f3a73d06f
Content-Length: 654
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "fad59eb8-2ff0-4072-8684-fea22a59d53b",
    "url": "/v2/space_quota_definitions/fad59eb8-2ff0-4072-8684-fea22a59d53b",
    "created_at": "2015-02-12T01:42:14Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1496",
    "organization_guid": "ede354cb-8960-4916-ab40-c1338f6f4512",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/ede354cb-8960-4916-ab40-c1338f6f4512",
    "spaces_url": "/v2/space_quota_definitions/fad59eb8-2ff0-4072-8684-fea22a59d53b/spaces"
  }
}