Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

DELETE /v2/organizations/:guid/auditors/:auditor_guid

Request

Route

DELETE /v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/auditors/uaa-id-62

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.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC01MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgxfQ.pb03qcR9T0e1Js_37Cyn-3b7bMvoOVPY2yyXS6qZIJo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/auditors/uaa-id-62" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC01MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgxfQ.pb03qcR9T0e1Js_37Cyn-3b7bMvoOVPY2yyXS6qZIJo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "a9ee18fd-a3ce-4110-903b-5687462d75c3",
    "url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3",
    "created_at": "2015-05-21T01:03:01Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-237",
    "billing_enabled": false,
    "quota_definition_guid": "43960f0f-3732-4d03-98ae-8a07134b8181",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/43960f0f-3732-4d03-98ae-8a07134b8181",
    "spaces_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/spaces",
    "domains_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/domains",
    "private_domains_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/private_domains",
    "users_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/users",
    "managers_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/managers",
    "billing_managers_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/billing_managers",
    "auditors_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/auditors",
    "app_events_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/app_events",
    "space_quota_definitions_url": "/v2/organizations/a9ee18fd-a3ce-4110-903b-5687462d75c3/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 56229371-798c-40e5-9d37-375b168dc936
Content-Length: 1299
X-Content-Type-Options: nosniff