Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/75f22720-29df-4077-933f-cd95e112beb9/spaces/d5deb1a3-6ccc-4b68-8e20-f156eef4b2d8
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space Quota Definition
|
|
|
space_guid
|
The guid of the space
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/space_quota_definitions/75f22720-29df-4077-933f-cd95e112beb9/spaces/d5deb1a3-6ccc-4b68-8e20-f156eef4b2d8" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OCIsImVtYWlsIjoiZW1haWwtMTU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDV9.jEcK1CTWTYeQq4ZUzEscQlMmyT8WhtWyIMJ_tANYfg8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "75f22720-29df-4077-933f-cd95e112beb9",
"url": "/v2/space_quota_definitions/75f22720-29df-4077-933f-cd95e112beb9",
"created_at": "2015-09-30T23:30:45Z",
"updated_at": null
},
"entity": {
"name": "name-1474",
"organization_guid": "cdb8f795-d4bb-4d8e-b04a-5b6657e6dc1e",
"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/cdb8f795-d4bb-4d8e-b04a-5b6657e6dc1e",
"spaces_url": "/v2/space_quota_definitions/75f22720-29df-4077-933f-cd95e112beb9/spaces"
}
}
Headers