Remove Manager from the Organization
DELETE /v2/organizations/:guid/managers/:manager_guid
Request
Route
DELETE /v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/managers/uaa-id-87
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/582942d1-52bc-4385-a236-df8e78a1dfea/managers/uaa-id-87" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg5IiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ1MzYyMjk5fQ.WUXIWolWJ8KqVDkPTAAsWK32h0Wo1qr4LYFmlMxSy-g" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "582942d1-52bc-4385-a236-df8e78a1dfea",
"url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea",
"created_at": "2015-10-13T17:31:38Z",
"updated_at": null
},
"entity": {
"name": "name-217",
"billing_enabled": false,
"quota_definition_guid": "f80d23cb-984d-41ec-933e-6a2ad7f8d1eb",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/f80d23cb-984d-41ec-933e-6a2ad7f8d1eb",
"spaces_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/spaces",
"domains_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/domains",
"private_domains_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/private_domains",
"users_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/users",
"managers_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/managers",
"billing_managers_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/billing_managers",
"auditors_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/auditors",
"app_events_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/app_events",
"space_quota_definitions_url": "/v2/organizations/582942d1-52bc-4385-a236-df8e78a1dfea/space_quota_definitions"
}
}
Headers