Associate Space with the Space Quota Definition
PUT /v2/space_quota_definitions/:guid/spaces/:space_guid
Request
Route
PUT /v2/space_quota_definitions/6e7de5fd-b90d-4902-959c-11f8582caa58/spaces/6bb75f51-974f-42cd-a755-1e0fcb1c5c55
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/6e7de5fd-b90d-4902-959c-11f8582caa58/spaces/6bb75f51-974f-42cd-a755-1e0fcb1c5c55" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODg1NTY2NH0.vrfiWaaA77KWGuvt-HKPXrNjbCgw0idPbsnWLwY3hvc" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "6e7de5fd-b90d-4902-959c-11f8582caa58",
"url": "/v2/space_quota_definitions/6e7de5fd-b90d-4902-959c-11f8582caa58",
"created_at": "2016-03-17T21:41:03Z",
"updated_at": null
},
"entity": {
"name": "name-48",
"organization_guid": "11e95653-2241-49e2-b048-eb46b076aa94",
"non_basic_services_allowed": true,
"total_services": 60,
"total_routes": 1000,
"memory_limit": 20480,
"instance_memory_limit": -1,
"app_instance_limit": -1,
"app_task_limit": 5,
"total_service_keys": 600,
"organization_url": "/v2/organizations/11e95653-2241-49e2-b048-eb46b076aa94",
"spaces_url": "/v2/space_quota_definitions/6e7de5fd-b90d-4902-959c-11f8582caa58/spaces"
}
}
Headers