Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/0df053b6-c1e2-47db-978b-e4a13ede66ad/spaces/47de1f95-294f-4007-a2a7-c1c488370060
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/0df053b6-c1e2-47db-978b-e4a13ede66ad/spaces/47de1f95-294f-4007-a2a7-c1c488370060" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2OSIsImVtYWlsIjoiZW1haWwtMTcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzR9.5GMz4CaH93lyXThjs78k7ewkhs-TGkO0Ay4pZEmiQ2o" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "0df053b6-c1e2-47db-978b-e4a13ede66ad",
"url": "/v2/space_quota_definitions/0df053b6-c1e2-47db-978b-e4a13ede66ad",
"created_at": "2016-04-16T01:23:54Z",
"updated_at": null
},
"entity": {
"name": "name-677",
"organization_guid": "13bf4d4d-8cf2-430e-9f9c-fc176a456632",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"app_instance_limit": -1,
"app_task_limit": 5,
"total_service_keys": 600,
"organization_url": "/v2/organizations/13bf4d4d-8cf2-430e-9f9c-fc176a456632",
"spaces_url": "/v2/space_quota_definitions/0df053b6-c1e2-47db-978b-e4a13ede66ad/spaces"
}
}
Headers