Associate Manager with the Organization
PUT /v2/organizations/:guid/managers/:manager_guid
Request
Route
PUT /v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/managers/uaa-id-124
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/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/managers/uaa-id-124" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNSIsImVtYWlsIjoiZW1haWwtNzJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzMH0.3uFPJtoFVxwXqE7cJZpI5QKJfyoPmSrxurvlkrm7w6s" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "7dd78ca6-fe4d-441b-ba81-161e0d7810d8",
"url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8",
"created_at": "2015-09-11T18:38:49Z",
"updated_at": null
},
"entity": {
"name": "name-290",
"billing_enabled": false,
"quota_definition_guid": "b9c3ef34-a9f8-4c2c-8c96-089b1d67258d",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/b9c3ef34-a9f8-4c2c-8c96-089b1d67258d",
"spaces_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/spaces",
"domains_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/domains",
"private_domains_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/private_domains",
"users_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/users",
"managers_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/managers",
"billing_managers_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/billing_managers",
"auditors_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/auditors",
"app_events_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/app_events",
"space_quota_definitions_url": "/v2/organizations/7dd78ca6-fe4d-441b-ba81-161e0d7810d8/space_quota_definitions"
}
}
Headers