Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/1f5fe116-812a-40db-934e-faf9aa95fb54/spaces/ceca1d52-7052-440f-9df4-0b25aa208fdb
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/1f5fe116-812a-40db-934e-faf9aa95fb54/spaces/ceca1d52-7052-440f-9df4-0b25aa208fdb" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg3IiwiZW1haWwiOiJlbWFpbC01MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQ2fQ.NmtLtVjz02cfYHtFlwreU8xbierO-hDXXfoav4581b4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "1f5fe116-812a-40db-934e-faf9aa95fb54",
"url": "/v2/space_quota_definitions/1f5fe116-812a-40db-934e-faf9aa95fb54",
"created_at": "2015-11-13T17:02:26Z",
"updated_at": null
},
"entity": {
"name": "name-153",
"organization_guid": "1dad242e-1057-45ce-93a8-1d722e1efee6",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"app_instance_limit": -1,
"organization_url": "/v2/organizations/1dad242e-1057-45ce-93a8-1d722e1efee6",
"spaces_url": "/v2/space_quota_definitions/1f5fe116-812a-40db-934e-faf9aa95fb54/spaces"
}
}
Headers