Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/auditors/uaa-id-134

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.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNSIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDN9.5cnaFU8Zn2U8Hz4EcqaF1uHewT2G995ZgfSNvqRuIoM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/auditors/uaa-id-134" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNSIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDN9.5cnaFU8Zn2U8Hz4EcqaF1uHewT2G995ZgfSNvqRuIoM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "c38e510a-e728-4759-8cf8-b8f26fec972b",
    "url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b",
    "created_at": "2015-03-05T19:15:43Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-453",
    "billing_enabled": false,
    "quota_definition_guid": "3d56d988-3a32-46b3-be25-52090b889af4",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/3d56d988-3a32-46b3-be25-52090b889af4",
    "spaces_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/spaces",
    "domains_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/domains",
    "private_domains_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/private_domains",
    "users_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/users",
    "managers_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/managers",
    "billing_managers_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/billing_managers",
    "auditors_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/auditors",
    "app_events_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/app_events",
    "space_quota_definitions_url": "/v2/organizations/c38e510a-e728-4759-8cf8-b8f26fec972b/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ddf1e10c-8112-4944-8d00-38e8222f1614
Content-Length: 1299
X-Content-Type-Options: nosniff