Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/auditors/uaa-id-344

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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NSIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTB9.HnZbtZNzxIXDPVttEWkM9bX6-7Ld_69G1GxCnD-sbbs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/auditors/uaa-id-344" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NSIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTB9.HnZbtZNzxIXDPVttEWkM9bX6-7Ld_69G1GxCnD-sbbs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "108feae1-d16a-41e1-ad2a-1db5ede65180",
    "url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180",
    "created_at": "2015-04-15T00:55:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2001",
    "billing_enabled": false,
    "quota_definition_guid": "012fcb53-9a5c-4767-b211-511a206a0f0d",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/012fcb53-9a5c-4767-b211-511a206a0f0d",
    "spaces_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/spaces",
    "domains_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/domains",
    "private_domains_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/private_domains",
    "users_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/users",
    "managers_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/managers",
    "billing_managers_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/billing_managers",
    "auditors_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/auditors",
    "app_events_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/app_events",
    "space_quota_definitions_url": "/v2/organizations/108feae1-d16a-41e1-ad2a-1db5ede65180/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2e1e3f31-52df-468d-a005-f3bd388d4407
Content-Length: 1300
X-Content-Type-Options: nosniff