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/675c8a34-4258-4b8f-811a-1da5d1eee7fb/spaces/de8a2b17-6019-4d8e-a506-2f5e6ec5edff

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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2OSIsImVtYWlsIjoiZW1haWwtMzM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzR9.5OEWNn4cX1nXh1-mg87dt-DVHocBkNDF3w_3nGt0I_I
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/675c8a34-4258-4b8f-811a-1da5d1eee7fb/spaces/de8a2b17-6019-4d8e-a506-2f5e6ec5edff" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2OSIsImVtYWlsIjoiZW1haWwtMzM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzR9.5OEWNn4cX1nXh1-mg87dt-DVHocBkNDF3w_3nGt0I_I" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "675c8a34-4258-4b8f-811a-1da5d1eee7fb",
    "url": "/v2/space_quota_definitions/675c8a34-4258-4b8f-811a-1da5d1eee7fb",
    "created_at": "2015-10-15T23:52:54Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2508",
    "organization_guid": "028aec0f-247e-41b6-bd66-dc336950431a",
    "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/028aec0f-247e-41b6-bd66-dc336950431a",
    "spaces_url": "/v2/space_quota_definitions/675c8a34-4258-4b8f-811a-1da5d1eee7fb/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a2e1a5b2-2ed7-476a-bfbc-6f1d1669eb82
Content-Length: 684
X-Content-Type-Options: nosniff