Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

DELETE /v2/organizations/:guid/auditors/:auditor_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.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNCIsImVtYWlsIjoiZW1haWwtMTU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDJ9.Kcq3ehjR39Azk_epZqP14M8XIZJqzEn5P-on_ZvsIZQ
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/auditors/uaa-id-213

cURL

curl "https://api.[your-domain.com]/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/auditors/uaa-id-213" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNCIsImVtYWlsIjoiZW1haWwtMTU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDJ9.Kcq3ehjR39Azk_epZqP14M8XIZJqzEn5P-on_ZvsIZQ" \
	-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: 22564c53-f849-4975-9345-52af52001bc5
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "03e97013-4469-4e97-87f9-389ef6f12b6e",
    "url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e",
    "created_at": "2014-11-05T01:02:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-768",
    "billing_enabled": false,
    "quota_definition_guid": "6812227b-7853-42f5-b981-aa78896a1628",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/6812227b-7853-42f5-b981-aa78896a1628",
    "spaces_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/spaces",
    "domains_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/domains",
    "private_domains_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/private_domains",
    "users_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/users",
    "managers_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/managers",
    "billing_managers_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/billing_managers",
    "auditors_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/auditors",
    "app_events_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/app_events",
    "space_quota_definitions_url": "/v2/organizations/03e97013-4469-4e97-87f9-389ef6f12b6e/space_quota_definitions"
  }
}