Associate Manager with the Organization
PUT /v2/organizations/:guid/managers/:manager_guid
Request
Route
PUT /v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/managers/uaa-id-145
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/64499034-e156-4131-9977-10a0e15f4bde/managers/uaa-id-145" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NiIsImVtYWlsIjoiZW1haWwtMTMwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzh9.ySGPRsKQjJYODLf35G02rP0yd5m-MPOgcpYYzzGxT5A" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "64499034-e156-4131-9977-10a0e15f4bde",
"url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde",
"created_at": "2015-11-03T00:53:58Z",
"updated_at": null
},
"entity": {
"name": "name-816",
"billing_enabled": false,
"quota_definition_guid": "27e6b7b6-2104-456b-aab2-b74e7c7b3e06",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/27e6b7b6-2104-456b-aab2-b74e7c7b3e06",
"spaces_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/spaces",
"domains_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/domains",
"private_domains_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/private_domains",
"users_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/users",
"managers_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/managers",
"billing_managers_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/billing_managers",
"auditors_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/auditors",
"app_events_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/app_events",
"space_quota_definitions_url": "/v2/organizations/64499034-e156-4131-9977-10a0e15f4bde/space_quota_definitions"
}
}
Headers