Associate Manager with the Organization
PUT /v2/organizations/:guid/managers/:manager_guid
Request
Route
PUT /v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/managers/uaa-id-409
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/4da59867-8f59-4f5d-a074-fd1f2e0308d3/managers/uaa-id-409" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMjk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODR9.J8YJRnKGw6pQPMuThz3c1sUIQkxSIuULu2NCyYnLMJc" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "4da59867-8f59-4f5d-a074-fd1f2e0308d3",
"url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3",
"created_at": "2016-01-19T19:41:24Z",
"updated_at": null
},
"entity": {
"name": "name-2470",
"billing_enabled": false,
"quota_definition_guid": "6d192205-b2a9-4054-b46f-bd218d8188ea",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/6d192205-b2a9-4054-b46f-bd218d8188ea",
"spaces_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/spaces",
"domains_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/domains",
"private_domains_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/private_domains",
"users_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/users",
"managers_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/managers",
"billing_managers_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/billing_managers",
"auditors_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/auditors",
"app_events_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/app_events",
"space_quota_definitions_url": "/v2/organizations/4da59867-8f59-4f5d-a074-fd1f2e0308d3/space_quota_definitions"
}
}
Headers