Associate Manager with the Space
PUT /v2/spaces/:guid/managers/:manager_guid
Request
Route
PUT /v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/managers/uaa-id-99
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/acc2c874-aea5-4768-a02b-4b925301c9d5/managers/uaa-id-99" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMCIsImVtYWlsIjoiZW1haWwtNTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzMH0.388gp_F50guZjdoG95v62quhPMxKremde-iHkHP9TBQ" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "acc2c874-aea5-4768-a02b-4b925301c9d5",
"url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5",
"created_at": "2015-05-07T23:37:10Z",
"updated_at": null
},
"entity": {
"name": "name-1005",
"organization_guid": "a3cb2dc4-d1ea-4f0d-a73e-81208b326016",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/a3cb2dc4-d1ea-4f0d-a73e-81208b326016",
"developers_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/developers",
"managers_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/managers",
"auditors_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/auditors",
"apps_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/apps",
"routes_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/routes",
"domains_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/domains",
"service_instances_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/service_instances",
"app_events_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/app_events",
"events_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/events",
"security_groups_url": "/v2/spaces/acc2c874-aea5-4768-a02b-4b925301c9d5/security_groups"
}
}
Headers