Associate Manager with the Organization
PUT /v2/organizations/:guid/managers/:manager_guid
Request
Route
PUT /v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/managers/uaa-id-154
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/managers/uaa-id-154" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NSIsImVtYWlsIjoiZW1haWwtOTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzM30.Dqhd4JlZYQMyw-9X4-ns9kAF-8-THWEZ0ul0BnUTFcU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "57ca2074-da61-45d4-b509-24050a3ade3b",
"url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b",
"created_at": "2015-05-07T23:37:13Z",
"updated_at": null
},
"entity": {
"name": "name-1197",
"billing_enabled": false,
"quota_definition_guid": "ba5f02a2-b2ed-4508-8fb2-861978f07b8d",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/ba5f02a2-b2ed-4508-8fb2-861978f07b8d",
"spaces_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/spaces",
"domains_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/domains",
"private_domains_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/private_domains",
"users_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/users",
"managers_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/managers",
"billing_managers_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/billing_managers",
"auditors_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/auditors",
"app_events_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/app_events",
"space_quota_definitions_url": "/v2/organizations/57ca2074-da61-45d4-b509-24050a3ade3b/space_quota_definitions"
}
}
Headers