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/4800ad85-5538-4614-ad02-520c91f81fbc/spaces/e21217c6-acac-4c22-b9da-bddcad47cbc5

Parameters

Name Description Valid Values Example Values
guid The guid of the Space Quota Definition
space_guid The guid of the space

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NiIsImVtYWlsIjoiZW1haWwtMTA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDJ9.kLtzJQmo7l90CyzMzK_GDseTvCtK78UGM6xfw8vC_AM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/4800ad85-5538-4614-ad02-520c91f81fbc/spaces/e21217c6-acac-4c22-b9da-bddcad47cbc5" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NiIsImVtYWlsIjoiZW1haWwtMTA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDJ9.kLtzJQmo7l90CyzMzK_GDseTvCtK78UGM6xfw8vC_AM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "4800ad85-5538-4614-ad02-520c91f81fbc",
    "url": "/v2/space_quota_definitions/4800ad85-5538-4614-ad02-520c91f81fbc",
    "created_at": "2015-10-13T17:31:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-396",
    "organization_guid": "f0bf1923-80b1-461d-89f8-2d6da78f943e",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "app_instance_limit": -1,
    "organization_url": "/v2/organizations/f0bf1923-80b1-461d-89f8-2d6da78f943e",
    "spaces_url": "/v2/space_quota_definitions/4800ad85-5538-4614-ad02-520c91f81fbc/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: dd3ec095-911d-4473-a954-baf28368b063
Content-Length: 683
X-Content-Type-Options: nosniff