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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MCIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.nY36lSpXPZY-fd1nFWGmKvNmS90EpbzilMf91KAmlk4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/space_quota_definitions/b1851d43-e267-4234-b5fa-bc774d0882d3/spaces/7f82c445-b6db-4e53-8542-592b346223de

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/b1851d43-e267-4234-b5fa-bc774d0882d3/spaces/7f82c445-b6db-4e53-8542-592b346223de" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MCIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.nY36lSpXPZY-fd1nFWGmKvNmS90EpbzilMf91KAmlk4" \
	-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: 016da0d9-47ca-4f82-bc5a-c51e6c0783b7
Content-Length: 654
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "b1851d43-e267-4234-b5fa-bc774d0882d3",
    "url": "/v2/space_quota_definitions/b1851d43-e267-4234-b5fa-bc774d0882d3",
    "created_at": "2015-02-10T01:42:59Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1946",
    "organization_guid": "7b36ba0b-a5ab-4ad9-9072-5cc8b46de36c",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/7b36ba0b-a5ab-4ad9-9072-5cc8b46de36c",
    "spaces_url": "/v2/space_quota_definitions/b1851d43-e267-4234-b5fa-bc774d0882d3/spaces"
  }
}