Associate Manager with the Space
PUT /v2/spaces/:guid/managers/:manager_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Request
Headers
Route
PUT /v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/managers/uaa-id-250
cURL
curl "https://api.[your-domain.com]/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/managers/uaa-id-250" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MSIsImVtYWlsIjoiZW1haWwtMTc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDd9.vmA_KTV6tPbjSXajC8x-lcP4XbDQOJqNgRcJa12J3Eo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "d5422a31-7780-4b7d-a3ab-317c3d5fc0bd",
"url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd",
"created_at": "2014-11-13T23:38:27+00:00",
"updated_at": null
},
"entity": {
"name": "name-829",
"organization_guid": "522a3d80-e1ad-4458-bd3e-0faeba16f219",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/522a3d80-e1ad-4458-bd3e-0faeba16f219",
"developers_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/developers",
"managers_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/managers",
"auditors_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/auditors",
"apps_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/apps",
"routes_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/routes",
"domains_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/domains",
"service_instances_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/service_instances",
"app_events_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/app_events",
"events_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/events",
"security_groups_url": "/v2/spaces/d5422a31-7780-4b7d-a3ab-317c3d5fc0bd/security_groups"
}
}