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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.QuS3kaTFJVDaZ-oSA2NnTcmym_xTAacbauDVjRiyVDA
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/auditors/uaa-id-355

cURL

curl "https://api.[your-domain.com]/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/auditors/uaa-id-355" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NiIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.QuS3kaTFJVDaZ-oSA2NnTcmym_xTAacbauDVjRiyVDA" \
	-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: ea5e0db4-54ef-4f98-a2e4-9569bab9e76d
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "ea1a4999-0aa8-4beb-ad56-e29117bca835",
    "url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835",
    "created_at": "2015-01-27T19:14:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1975",
    "billing_enabled": false,
    "quota_definition_guid": "6c00ef4b-adf4-48c3-ae0e-8bdb9f60911c",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/6c00ef4b-adf4-48c3-ae0e-8bdb9f60911c",
    "spaces_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/spaces",
    "domains_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/domains",
    "private_domains_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/private_domains",
    "users_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/users",
    "managers_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/managers",
    "billing_managers_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/billing_managers",
    "auditors_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/auditors",
    "app_events_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/app_events",
    "space_quota_definitions_url": "/v2/organizations/ea1a4999-0aa8-4beb-ad56-e29117bca835/space_quota_definitions"
  }
}