Associate Manager with the Space
PUT /v2/spaces/:guid/managers/:manager_guid
Request
Route
PUT /v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/managers/uaa-id-29
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
manager_guid
|
The guid of the manager
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/managers/uaa-id-29" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0xOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU0NDUxNjA2fQ.nZoV9Phk9vzGKdftlXtHUyF3KhwjIuRIs3MooXljqtU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "43c326ff-9d15-4ee3-b8c6-cfa45214de0f",
"url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f",
"created_at": "2016-01-26T22:20:06Z",
"updated_at": null
},
"entity": {
"name": "name-92",
"organization_guid": "8089fe02-0a1e-4cbc-8bb1-926a84ebaff3",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/8089fe02-0a1e-4cbc-8bb1-926a84ebaff3",
"developers_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/developers",
"managers_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/managers",
"auditors_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/auditors",
"apps_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/apps",
"routes_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/routes",
"domains_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/domains",
"service_instances_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/service_instances",
"app_events_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/app_events",
"events_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/events",
"security_groups_url": "/v2/spaces/43c326ff-9d15-4ee3-b8c6-cfa45214de0f/security_groups"
}
}
Headers