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.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NyIsImVtYWlsIjoiZW1haWwtMTQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjF9.6dlK8uSk3ZF_D-l56K7MONQXAxnKuhSqRXC-_gzO4M8
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/space_quota_definitions/c301c24c-d1dd-4cf0-ab67-ac3e0ea6ab18/spaces/f4d7fa41-42ee-47d1-a8d5-eceed2ada829

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/c301c24c-d1dd-4cf0-ab67-ac3e0ea6ab18/spaces/f4d7fa41-42ee-47d1-a8d5-eceed2ada829" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NyIsImVtYWlsIjoiZW1haWwtMTQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjF9.6dlK8uSk3ZF_D-l56K7MONQXAxnKuhSqRXC-_gzO4M8" \
	-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: 96864084-6a9f-4f1b-89a2-3607d2de66e4
Content-Length: 658
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "c301c24c-d1dd-4cf0-ab67-ac3e0ea6ab18",
    "url": "/v2/space_quota_definitions/c301c24c-d1dd-4cf0-ab67-ac3e0ea6ab18",
    "created_at": "2014-11-24T19:32:41+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-647",
    "organization_guid": "8740ad13-692a-4bab-a3ba-370576007736",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/8740ad13-692a-4bab-a3ba-370576007736",
    "spaces_url": "/v2/space_quota_definitions/c301c24c-d1dd-4cf0-ab67-ac3e0ea6ab18/spaces"
  }
}