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/732d8a4a-d368-4363-966f-b1d3275c76b2/spaces/cf7246f6-9ce4-4bf4-a6e9-b36f82e3377d

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

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/732d8a4a-d368-4363-966f-b1d3275c76b2/spaces/cf7246f6-9ce4-4bf4-a6e9-b36f82e3377d" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwNyIsImVtYWlsIjoiZW1haWwtMjc1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDR9.KtY143yCJhXPXfERQFnwhC1D28V6aHK1gjLd6OCzx0A" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "732d8a4a-d368-4363-966f-b1d3275c76b2",
    "url": "/v2/space_quota_definitions/732d8a4a-d368-4363-966f-b1d3275c76b2",
    "created_at": "2015-10-07T00:35:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2258",
    "organization_guid": "cfcc200a-0ff4-49f3-8690-9760e58322cb",
    "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/cfcc200a-0ff4-49f3-8690-9760e58322cb",
    "spaces_url": "/v2/space_quota_definitions/732d8a4a-d368-4363-966f-b1d3275c76b2/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5903576f-3a12-465b-a094-648a0096645f
Content-Length: 684
X-Content-Type-Options: nosniff