Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

DELETE /v2/organizations/:guid/managers/:manager_guid

Request

Route

DELETE /v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/managers/uaa-id-104

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNiIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMX0.R4XxXCNaUgT7UDbhM7HMxZ7JldZGaW_0wzDNG23mXkY
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/managers/uaa-id-104" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNiIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMX0.R4XxXCNaUgT7UDbhM7HMxZ7JldZGaW_0wzDNG23mXkY" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "3a0c7e34-0729-4c8f-bf49-43a8f7bac47f",
    "url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f",
    "created_at": "2015-04-07T19:11:41Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-297",
    "billing_enabled": false,
    "quota_definition_guid": "34f57773-abbc-4a70-9225-41980993dfae",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/34f57773-abbc-4a70-9225-41980993dfae",
    "spaces_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/spaces",
    "domains_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/domains",
    "private_domains_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/private_domains",
    "users_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/users",
    "managers_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/managers",
    "billing_managers_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/billing_managers",
    "auditors_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/auditors",
    "app_events_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/app_events",
    "space_quota_definitions_url": "/v2/organizations/3a0c7e34-0729-4c8f-bf49-43a8f7bac47f/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ae961f05-928e-4eb9-bf6f-bdb3b30edca5
Content-Length: 1299
X-Content-Type-Options: nosniff