Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/auditors/uaa-id-385

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/auditors/uaa-id-385" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NiIsImVtYWlsIjoiZW1haWwtMjg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjF9.U6mwPdFBxOvF1iVssORXZCW1PlaZBSp_1NnuAcNVu8c" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "31dacf46-2bd1-40c0-a25d-b0404b4100fa",
    "url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa",
    "created_at": "2015-06-04T00:05:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2211",
    "billing_enabled": false,
    "quota_definition_guid": "8f37e05e-545b-4a64-b8dc-408bf19ef87c",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/8f37e05e-545b-4a64-b8dc-408bf19ef87c",
    "spaces_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/spaces",
    "domains_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/domains",
    "private_domains_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/private_domains",
    "users_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/users",
    "managers_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/managers",
    "billing_managers_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/billing_managers",
    "auditors_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/auditors",
    "app_events_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/app_events",
    "space_quota_definitions_url": "/v2/organizations/31dacf46-2bd1-40c0-a25d-b0404b4100fa/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ef291e12-d8bb-43e2-acb0-962120e0b443
Content-Length: 1300
X-Content-Type-Options: nosniff