Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/a9b144da-7261-4444-b4b3-961d86c0dab9/spaces/cac6c915-9ae0-45fd-ba85-346ccd8a6c23
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/a9b144da-7261-4444-b4b3-961d86c0dab9/spaces/cac6c915-9ae0-45fd-ba85-346ccd8a6c23" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzZ9.Tjgf31kprn3Wlx_MXA0uFU-HU-xwOAIpExsamsWYGx4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "a9b144da-7261-4444-b4b3-961d86c0dab9",
"url": "/v2/space_quota_definitions/a9b144da-7261-4444-b4b3-961d86c0dab9",
"created_at": "2015-09-11T18:38:56Z",
"updated_at": null
},
"entity": {
"name": "name-696",
"organization_guid": "94ff6184-6ba2-4ada-b5be-781578cbdede",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/94ff6184-6ba2-4ada-b5be-781578cbdede",
"spaces_url": "/v2/space_quota_definitions/a9b144da-7261-4444-b4b3-961d86c0dab9/spaces"
}
}
Headers