Associate Manager with the Space
PUT /v2/spaces/:guid/managers/:manager_guid
Request
Route
PUT /v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/managers/uaa-id-313
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/714b7217-f2b0-4fde-9c22-0d5351b85062/managers/uaa-id-313" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNCIsImVtYWlsIjoiZW1haWwtMjE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MDd9.XO5IFVtDE-Vl9ApHP3lCk28ey-FAlWwt-UyFvIUji_M" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "714b7217-f2b0-4fde-9c22-0d5351b85062",
"url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062",
"created_at": "2016-04-22T19:33:27Z",
"updated_at": null
},
"entity": {
"name": "name-1053",
"organization_guid": "c6447b51-f0c3-4fbc-8ef0-3aefa3d908d5",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/c6447b51-f0c3-4fbc-8ef0-3aefa3d908d5",
"developers_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/developers",
"managers_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/managers",
"auditors_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/auditors",
"apps_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/apps",
"routes_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/routes",
"domains_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/domains",
"service_instances_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/service_instances",
"app_events_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/app_events",
"events_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/events",
"security_groups_url": "/v2/spaces/714b7217-f2b0-4fde-9c22-0d5351b85062/security_groups"
}
}
Headers