Associate Manager with the Organization
PUT /v2/organizations/:guid/managers/:manager_guid
Request
Route
PUT /v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/managers/uaa-id-376
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/dad345c5-8e9f-4023-9759-3db368307238/managers/uaa-id-376" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NyIsImVtYWlsIjoiZW1haWwtMjc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjF9.0DqIzL8hk7-ShReeC3knhkCXF6mRquUaC5I8b_-iFTw" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "dad345c5-8e9f-4023-9759-3db368307238",
"url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238",
"created_at": "2015-06-04T00:05:21Z",
"updated_at": null
},
"entity": {
"name": "name-2190",
"billing_enabled": false,
"quota_definition_guid": "44fa80dc-5ea6-4121-934c-5f4d87e85d99",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/44fa80dc-5ea6-4121-934c-5f4d87e85d99",
"spaces_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/spaces",
"domains_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/domains",
"private_domains_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/private_domains",
"users_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/users",
"managers_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/managers",
"billing_managers_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/billing_managers",
"auditors_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/auditors",
"app_events_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/app_events",
"space_quota_definitions_url": "/v2/organizations/dad345c5-8e9f-4023-9759-3db368307238/space_quota_definitions"
}
}
Headers