Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/f38d1789-758d-4df4-8c71-9114373015d6/spaces/a6e27969-1b8e-4fb9-9a68-3736369cc264
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space Quota Definition
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/space_quota_definitions/f38d1789-758d-4df4-8c71-9114373015d6/spaces/a6e27969-1b8e-4fb9-9a68-3736369cc264" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDZ9.Yt_7SolXzAcCz-ucnXUlpVOQMDmxg1vh8eYXidaftrI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f38d1789-758d-4df4-8c71-9114373015d6",
"url": "/v2/space_quota_definitions/f38d1789-758d-4df4-8c71-9114373015d6",
"created_at": "2015-04-07T19:11:46Z",
"updated_at": null
},
"entity": {
"name": "name-584",
"organization_guid": "abb028fd-0c6d-4a39-8e1a-b81edd3a18fb",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/abb028fd-0c6d-4a39-8e1a-b81edd3a18fb",
"spaces_url": "/v2/space_quota_definitions/f38d1789-758d-4df4-8c71-9114373015d6/spaces"
}
}
Headers