Associate Manager with the Space
PUT /v2/spaces/:guid/managers/:manager_guid
Request
Route
PUT /v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/managers/uaa-id-71
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/managers/uaa-id-71" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcyIiwiZW1haWwiOiJlbWFpbC02NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2NjMzODk5fQ.Zk5UmCGEglgnnW0r3ncPeY0AvSrqcE6t2UKh-tWeFiE" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "6841cd0d-0142-43d9-b3b6-5a212bbdc2c2",
"url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2",
"created_at": "2015-03-10T23:11:39Z",
"updated_at": null
},
"entity": {
"name": "name-260",
"organization_guid": "c3b34e7a-24c1-4f43-b514-452e7ba663d7",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/c3b34e7a-24c1-4f43-b514-452e7ba663d7",
"developers_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/developers",
"managers_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/managers",
"auditors_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/auditors",
"apps_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/apps",
"routes_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/routes",
"domains_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/domains",
"service_instances_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/service_instances",
"app_events_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/app_events",
"events_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/events",
"security_groups_url": "/v2/spaces/6841cd0d-0142-43d9-b3b6-5a212bbdc2c2/security_groups"
}
}
Headers