Associate Manager with the Space
PUT /v2/spaces/:guid/managers/:manager_guid
Request
Route
PUT /v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/managers/uaa-id-424
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/2656e3b8-332d-49fd-b4cc-6d4b4df01466/managers/uaa-id-424" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNSIsImVtYWlsIjoiZW1haWwtMjk2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDV9.mmbF9q3ayC-j9g_pWTALRLZzTHu7TRnRYje2u15Q8uI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "2656e3b8-332d-49fd-b4cc-6d4b4df01466",
"url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466",
"created_at": "2016-02-19T02:04:05Z",
"updated_at": null
},
"entity": {
"name": "name-2529",
"organization_guid": "a106ba43-400f-429c-9489-2fcefb1e21e2",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/a106ba43-400f-429c-9489-2fcefb1e21e2",
"developers_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/developers",
"managers_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/managers",
"auditors_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/auditors",
"apps_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/apps",
"routes_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/routes",
"domains_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/domains",
"service_instances_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/service_instances",
"app_events_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/app_events",
"events_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/events",
"security_groups_url": "/v2/spaces/2656e3b8-332d-49fd-b4cc-6d4b4df01466/security_groups"
}
}
Headers