Associate Manager with the Space
PUT /v2/spaces/:guid/managers/:manager_guid
Request
Route
PUT /v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/managers/uaa-id-220
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/cd786776-43bf-433f-9abe-3abc29699fc0/managers/uaa-id-220" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2NzV9.5-OMgqpKOn4WUJ-nf1gVcrSVwkJeuIYsU-o75SmZJz8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "cd786776-43bf-433f-9abe-3abc29699fc0",
"url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0",
"created_at": "2016-03-17T21:41:15Z",
"updated_at": null
},
"entity": {
"name": "name-840",
"organization_guid": "115319f3-64b4-4526-8776-047c496d1883",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/115319f3-64b4-4526-8776-047c496d1883",
"developers_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/developers",
"managers_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/managers",
"auditors_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/auditors",
"apps_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/apps",
"routes_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/routes",
"domains_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/domains",
"service_instances_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/service_instances",
"app_events_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/app_events",
"events_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/events",
"security_groups_url": "/v2/spaces/cd786776-43bf-433f-9abe-3abc29699fc0/security_groups"
}
}
Headers