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/0c53aa39-043f-43ea-a801-d72e402de9bb/spaces/2b66ae6a-d1c0-4376-a104-8005fb46a4c9

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

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/0c53aa39-043f-43ea-a801-d72e402de9bb/spaces/2b66ae6a-d1c0-4376-a104-8005fb46a4c9" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU2IiwiZW1haWwiOiJlbWFpbC01NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ3fQ.DuR3aO1FtyrOIIi4ZkA4Q-IhWkZtpkDQHJofRACeKEE" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "0c53aa39-043f-43ea-a801-d72e402de9bb",
    "url": "/v2/space_quota_definitions/0c53aa39-043f-43ea-a801-d72e402de9bb",
    "created_at": "2015-06-16T23:40:47Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-380",
    "organization_guid": "c2e4c9f2-69b8-4a44-a0e4-0223f5dd2e32",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/c2e4c9f2-69b8-4a44-a0e4-0223f5dd2e32",
    "spaces_url": "/v2/space_quota_definitions/0c53aa39-043f-43ea-a801-d72e402de9bb/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 29c79526-e75c-4f4d-ac3c-5bdcad200a7e
Content-Length: 653
X-Content-Type-Options: nosniff