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

Route

DELETE /v2/space_quota_definitions/9487b6ef-8a8d-4faa-b9b5-abd7cfbff08b/spaces/f6f0dba9-8cae-4e03-a35e-c4aa26b51901

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/9487b6ef-8a8d-4faa-b9b5-abd7cfbff08b/spaces/f6f0dba9-8cae-4e03-a35e-c4aa26b51901" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTR9.pB3hgoPKrNZfSWd1M6S34BDiRJoQfc_D_tInMMnBX6k" \
	-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: 7d03abff-d8e3-40cf-94e4-4abc4c281245
Content-Length: 659
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "9487b6ef-8a8d-4faa-b9b5-abd7cfbff08b",
    "url": "/v2/space_quota_definitions/9487b6ef-8a8d-4faa-b9b5-abd7cfbff08b",
    "created_at": "2014-11-13T23:38:34+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1255",
    "organization_guid": "f48000b9-c872-4ca3-b133-aec4ffcabc9d",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/f48000b9-c872-4ca3-b133-aec4ffcabc9d",
    "spaces_url": "/v2/space_quota_definitions/9487b6ef-8a8d-4faa-b9b5-abd7cfbff08b/spaces"
  }
}