Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/auditors/uaa-id-169

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/auditors/uaa-id-169" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MCIsImVtYWlsIjoiZW1haWwtMTA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzN9.dRbCjczPIXJLhrHJ-ECFsYI3iqhe5WW9zLQgwkErg6M" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "22bee6de-0bcf-4353-9b6b-08dba5371c32",
    "url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32",
    "created_at": "2015-05-07T23:37:13Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1213",
    "billing_enabled": false,
    "quota_definition_guid": "4a09bb47-0f66-43aa-8e3b-135cbeeb18cf",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/4a09bb47-0f66-43aa-8e3b-135cbeeb18cf",
    "spaces_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/spaces",
    "domains_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/domains",
    "private_domains_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/private_domains",
    "users_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/users",
    "managers_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/managers",
    "billing_managers_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/billing_managers",
    "auditors_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/auditors",
    "app_events_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/app_events",
    "space_quota_definitions_url": "/v2/organizations/22bee6de-0bcf-4353-9b6b-08dba5371c32/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6f525936-bee9-42e8-b35f-eb5982ae0917
Content-Length: 1300
X-Content-Type-Options: nosniff