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

Route

DELETE /v2/space_quota_definitions/53a318ec-482c-4a01-83e4-876ca3aeeac6/spaces/7f0bf371-5ba2-49d4-9d2b-b77e1cc12101

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/53a318ec-482c-4a01-83e4-876ca3aeeac6/spaces/7f0bf371-5ba2-49d4-9d2b-b77e1cc12101" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMjAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzh9.UY8vbY_kK5MQwrvpIj1Wfc0wtPr7ni30DfFFBLxiaPE" \
	-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: 84968e00-f48d-49c3-967a-e5b4cf41ba12
Content-Length: 654
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "53a318ec-482c-4a01-83e4-876ca3aeeac6",
    "url": "/v2/space_quota_definitions/53a318ec-482c-4a01-83e4-876ca3aeeac6",
    "created_at": "2015-01-27T19:14:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1553",
    "organization_guid": "f0d8b275-bfdd-46b6-bc3c-b1a966dc21db",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/f0d8b275-bfdd-46b6-bc3c-b1a966dc21db",
    "spaces_url": "/v2/space_quota_definitions/53a318ec-482c-4a01-83e4-876ca3aeeac6/spaces"
  }
}