Associate Manager with the Organization
PUT /v2/organizations/:guid/managers/:manager_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Request
Headers
Route
PUT /v2/organizations/21065635-908d-4495-80f2-915d3fccefea/managers/uaa-id-269
cURL
curl "https://api.[your-domain.com]/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/managers/uaa-id-269" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MCIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzZ9.kXYQLDhBijMBc33B0_SAf2Or_u_2CJefY40lDTYI3dc" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "21065635-908d-4495-80f2-915d3fccefea",
"url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea",
"created_at": "2014-12-24T01:39:36+00:00",
"updated_at": null
},
"entity": {
"name": "name-1707",
"billing_enabled": false,
"quota_definition_guid": "3246881d-8a1b-4e03-8b78-83a8078fcba6",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/3246881d-8a1b-4e03-8b78-83a8078fcba6",
"spaces_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/spaces",
"domains_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/domains",
"private_domains_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/private_domains",
"users_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/users",
"managers_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/managers",
"billing_managers_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/billing_managers",
"auditors_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/auditors",
"app_events_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/app_events",
"space_quota_definitions_url": "/v2/organizations/21065635-908d-4495-80f2-915d3fccefea/space_quota_definitions"
}
}