Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/17858a66-7d82-4e89-8828-3a7e8babca07/spaces/29d76fe8-1ade-413e-8998-4cc661fd17e4
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/17858a66-7d82-4e89-8828-3a7e8babca07/spaces/29d76fe8-1ade-413e-8998-4cc661fd17e4" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MSIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjB9.Eazxx1bvl7zlK1r-wKHAZpqknV70q_ZO2gCE3uYThTk" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "17858a66-7d82-4e89-8828-3a7e8babca07",
"url": "/v2/space_quota_definitions/17858a66-7d82-4e89-8828-3a7e8babca07",
"created_at": "2015-06-04T00:05:20Z",
"updated_at": null
},
"entity": {
"name": "name-2140",
"organization_guid": "b011b1d9-0b4c-4a02-a4e9-cec57b3ae236",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/b011b1d9-0b4c-4a02-a4e9-cec57b3ae236",
"spaces_url": "/v2/space_quota_definitions/17858a66-7d82-4e89-8828-3a7e8babca07/spaces"
}
}
Headers