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/c98d64a5-6e86-4a99-80ba-307e604bf439/spaces/f20fdef7-dd11-427c-9a69-0225edb923f5

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

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/c98d64a5-6e86-4a99-80ba-307e604bf439/spaces/f20fdef7-dd11-427c-9a69-0225edb923f5" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NyIsImVtYWlsIjoiZW1haWwtMTU0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDV9.-YyCuDlEl2Vfnzz6dvmILi4BHj713qLAOzT4oKjER3I" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "c98d64a5-6e86-4a99-80ba-307e604bf439",
    "url": "/v2/space_quota_definitions/c98d64a5-6e86-4a99-80ba-307e604bf439",
    "created_at": "2015-09-30T23:30:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1469",
    "organization_guid": "2e1064ec-81d7-4823-bfb2-0f46d048e033",
    "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/2e1064ec-81d7-4823-bfb2-0f46d048e033",
    "spaces_url": "/v2/space_quota_definitions/c98d64a5-6e86-4a99-80ba-307e604bf439/spaces"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7f6b263d-3b6d-4612-8f8f-1249f52fbb51
Content-Length: 684
X-Content-Type-Options: nosniff