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/0f90a0f2-abd9-4c68-82c9-e3ae48e974ca/spaces/1a3260e7-b369-4238-80af-c679adea5f89

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

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/0f90a0f2-abd9-4c68-82c9-e3ae48e974ca/spaces/1a3260e7-b369-4238-80af-c679adea5f89" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC03OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA5fQ.MRhyDay40D8KFwL7rCWVXhYQQOb_Kfrf9cV5yCFia5c" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "0f90a0f2-abd9-4c68-82c9-e3ae48e974ca",
    "url": "/v2/space_quota_definitions/0f90a0f2-abd9-4c68-82c9-e3ae48e974ca",
    "created_at": "2015-05-15T16:53:29Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-363",
    "organization_guid": "4c365db0-5ac9-43f8-8971-93aeb80203c5",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/4c365db0-5ac9-43f8-8971-93aeb80203c5",
    "spaces_url": "/v2/space_quota_definitions/0f90a0f2-abd9-4c68-82c9-e3ae48e974ca/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 50bb147f-7cff-46c4-8291-badd861e9a5c
Content-Length: 653
X-Content-Type-Options: nosniff