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.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MyIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDJ9.a2-Yp-CgEw8RBcsylhjcEH54EogsyKn_DuMnLFiIuVc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/space_quota_definitions/bd5414e0-df2e-40cb-ae4b-5c7a6aeb2129/spaces/6e0f387e-cedb-4c67-b63c-66cc41addd2a

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/bd5414e0-df2e-40cb-ae4b-5c7a6aeb2129/spaces/6e0f387e-cedb-4c67-b63c-66cc41addd2a" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MyIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDJ9.a2-Yp-CgEw8RBcsylhjcEH54EogsyKn_DuMnLFiIuVc" \
	-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: 4549bff9-0331-49d2-9af9-950afaad7a56
Content-Length: 659
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "bd5414e0-df2e-40cb-ae4b-5c7a6aeb2129",
    "url": "/v2/space_quota_definitions/bd5414e0-df2e-40cb-ae4b-5c7a6aeb2129",
    "created_at": "2015-01-20T01:52:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1386",
    "organization_guid": "5aced1ca-3a1a-4512-92bd-755ca1a82d1e",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/5aced1ca-3a1a-4512-92bd-755ca1a82d1e",
    "spaces_url": "/v2/space_quota_definitions/bd5414e0-df2e-40cb-ae4b-5c7a6aeb2129/spaces"
  }
}