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/2ddf19bb-3106-47d5-83e6-b069ffb0e696/spaces/8e1fc315-102d-4f22-a0a1-ebc499b484af

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MCIsImVtYWlsIjoiZW1haWwtMjA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTJ9.xVIJL3gSe_8rVVSXODJW0C6-jV8FDwOYskG2sBRBpqs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/2ddf19bb-3106-47d5-83e6-b069ffb0e696/spaces/8e1fc315-102d-4f22-a0a1-ebc499b484af" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MCIsImVtYWlsIjoiZW1haWwtMjA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTJ9.xVIJL3gSe_8rVVSXODJW0C6-jV8FDwOYskG2sBRBpqs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "2ddf19bb-3106-47d5-83e6-b069ffb0e696",
    "url": "/v2/space_quota_definitions/2ddf19bb-3106-47d5-83e6-b069ffb0e696",
    "created_at": "2015-07-06T23:23:12Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1743",
    "organization_guid": "c104447c-90d6-4742-a4a1-30cc2651ff99",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/c104447c-90d6-4742-a4a1-30cc2651ff99",
    "spaces_url": "/v2/space_quota_definitions/2ddf19bb-3106-47d5-83e6-b069ffb0e696/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: fb4c7914-0aee-47e2-98fe-b697c8172496
Content-Length: 654
X-Content-Type-Options: nosniff