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.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMCIsImVtYWlsIjoiZW1haWwtMTQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDV9._QqxyhiUcNc-1tZbtOCp8YGTCM_TkZ3CFp9tfaxC-wU
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/auditors/uaa-id-199

cURL

curl "https://api.[your-domain.com]/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/auditors/uaa-id-199" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMCIsImVtYWlsIjoiZW1haWwtMTQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDV9._QqxyhiUcNc-1tZbtOCp8YGTCM_TkZ3CFp9tfaxC-wU" \
	-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: f6d144a9-3c80-4cc7-90ac-dde419f907bc
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "fcfb981b-86dc-4f28-9bb5-b9489d013b31",
    "url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31",
    "created_at": "2014-11-13T23:38:25+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-743",
    "billing_enabled": false,
    "quota_definition_guid": "e30943f0-864a-45c3-a0d6-b63b678e5edf",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/e30943f0-864a-45c3-a0d6-b63b678e5edf",
    "spaces_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/spaces",
    "domains_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/domains",
    "private_domains_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/private_domains",
    "users_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/users",
    "managers_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/managers",
    "billing_managers_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/billing_managers",
    "auditors_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/auditors",
    "app_events_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/app_events",
    "space_quota_definitions_url": "/v2/organizations/fcfb981b-86dc-4f28-9bb5-b9489d013b31/space_quota_definitions"
  }
}