Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

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

Route

DELETE /v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/managers/uaa-id-236

cURL

curl "https://api.[your-domain.com]/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/managers/uaa-id-236" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOCIsImVtYWlsIjoiZW1haWwtMTY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDJ9.CDKA6pstq0vK9AnA3u5AewVWeYF_mBZKfBF_wHTB57U" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9d681f32-8a30-454e-9fc2-6559b2ca8b7d
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "affe2742-9344-45f4-8b7b-b68833c2cc42",
    "url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42",
    "created_at": "2014-11-05T01:02:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-792",
    "billing_enabled": false,
    "quota_definition_guid": "44d8153e-ba62-4927-9b45-036da001e7c3",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/44d8153e-ba62-4927-9b45-036da001e7c3",
    "spaces_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/spaces",
    "domains_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/domains",
    "private_domains_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/private_domains",
    "users_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/users",
    "managers_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/managers",
    "billing_managers_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/billing_managers",
    "auditors_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/auditors",
    "app_events_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/app_events",
    "space_quota_definitions_url": "/v2/organizations/affe2742-9344-45f4-8b7b-b68833c2cc42/space_quota_definitions"
  }
}