Associate Manager with the Organization
PUT /v2/organizations/:guid/managers/:manager_guid
Request
Route
PUT /v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/managers/uaa-id-220
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
manager_guid
|
The guid of the user to associate as a manager
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/managers/uaa-id-220" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDN9.ypVKBaduW_fNEhNeGCBCuKg5YN0zx3ItQxE6owPPCI8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "437f43fb-aa84-42c7-950f-496393fa31c5",
"url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5",
"created_at": "2015-09-30T23:30:43Z",
"updated_at": null
},
"entity": {
"name": "name-1332",
"billing_enabled": false,
"quota_definition_guid": "9d0e918a-55e4-47ac-a4d5-b80e88770ec6",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/9d0e918a-55e4-47ac-a4d5-b80e88770ec6",
"spaces_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/spaces",
"domains_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/domains",
"private_domains_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/private_domains",
"users_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/users",
"managers_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/managers",
"billing_managers_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/billing_managers",
"auditors_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/auditors",
"app_events_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/app_events",
"space_quota_definitions_url": "/v2/organizations/437f43fb-aa84-42c7-950f-496393fa31c5/space_quota_definitions"
}
}
Headers