Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/3ad7a85a-1593-4489-9c31-f1d09e564dc3/spaces/2849ab1a-c0c1-49a0-9c1b-bbb07fd71027
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/3ad7a85a-1593-4489-9c31-f1d09e564dc3/spaces/2849ab1a-c0c1-49a0-9c1b-bbb07fd71027" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OCIsImVtYWlsIjoiZW1haWwtMjA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTJ9.rnfNWdjMbN_hCxA6A54u352_hFxQ0H9eNr5g0qK3C7k" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "3ad7a85a-1593-4489-9c31-f1d09e564dc3",
"url": "/v2/space_quota_definitions/3ad7a85a-1593-4489-9c31-f1d09e564dc3",
"created_at": "2015-07-06T23:23:12Z",
"updated_at": null
},
"entity": {
"name": "name-1733",
"organization_guid": "beae470f-2d16-42a8-bd78-2ef88b886c20",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/beae470f-2d16-42a8-bd78-2ef88b886c20",
"spaces_url": "/v2/space_quota_definitions/3ad7a85a-1593-4489-9c31-f1d09e564dc3/spaces"
}
}
Headers