Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space Quota Definition
|
|
|
Request
Headers
Route
PUT /v2/space_quota_definitions/609ed69b-999d-43d6-bd2e-5c29fc82e466/spaces/a6816b6d-d8e3-44c1-93ba-b518499785e1
cURL
curl "https://api.[your-domain.com]/v2/space_quota_definitions/609ed69b-999d-43d6-bd2e-5c29fc82e466/spaces/a6816b6d-d8e3-44c1-93ba-b518499785e1" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTl9.OwBu9-JXzsj8EFrsyJ2yEXEPB85dTBD7jizzgGL7MBo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "609ed69b-999d-43d6-bd2e-5c29fc82e466",
"url": "/v2/space_quota_definitions/609ed69b-999d-43d6-bd2e-5c29fc82e466",
"created_at": "2015-02-13T22:34:58Z",
"updated_at": null
},
"entity": {
"name": "name-1393",
"organization_guid": "83fe932e-b7ab-4c44-b804-14387d6c0ce3",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"organization_url": "/v2/organizations/83fe932e-b7ab-4c44-b804-14387d6c0ce3",
"spaces_url": "/v2/space_quota_definitions/609ed69b-999d-43d6-bd2e-5c29fc82e466/spaces"
}
}