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

Route

DELETE /v2/space_quota_definitions/92e1b3e4-ee68-44ca-bc49-848e00dd505a/spaces/ee4be6fa-f238-42db-8c20-706a2db7a380

cURL

curl "https://api.[your-domain.com]/v2/space_quota_definitions/92e1b3e4-ee68-44ca-bc49-848e00dd505a/spaces/ee4be6fa-f238-42db-8c20-706a2db7a380" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtMTA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzB9.miE-yBj2N5beACsnuOkKMgkVDyb1LZtAKIEQ6nzR0sM" \
	-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: 24ed46a9-3dd2-41fa-8533-1bdee645a029
Content-Length: 659
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "92e1b3e4-ee68-44ca-bc49-848e00dd505a",
    "url": "/v2/space_quota_definitions/92e1b3e4-ee68-44ca-bc49-848e00dd505a",
    "created_at": "2014-12-24T01:39:30+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1325",
    "organization_guid": "2636026d-7a39-4c39-b2b5-704f957cb8c0",
    "non_basic_services_allowed": true,
    "total_services": 60,
    "total_routes": 1000,
    "memory_limit": 20480,
    "instance_memory_limit": -1,
    "organization_url": "/v2/organizations/2636026d-7a39-4c39-b2b5-704f957cb8c0",
    "spaces_url": "/v2/space_quota_definitions/92e1b3e4-ee68-44ca-bc49-848e00dd505a/spaces"
  }
}