Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/auditors/uaa-id-53

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/auditors/uaa-id-53" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU0IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQyfQ.fhxAvXq8O3dfZzKsxY1Plnc25hkhJ30ULG2nQaB_XdM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "4c430daa-72fc-420c-8dba-97169654facd",
    "url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd",
    "created_at": "2015-03-20T18:27:22Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-165",
    "billing_enabled": false,
    "quota_definition_guid": "4277bfd3-bd12-4af0-b282-6b11c685b806",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/4277bfd3-bd12-4af0-b282-6b11c685b806",
    "spaces_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/spaces",
    "domains_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/domains",
    "private_domains_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/private_domains",
    "users_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/users",
    "managers_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/managers",
    "billing_managers_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/billing_managers",
    "auditors_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/auditors",
    "app_events_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/app_events",
    "space_quota_definitions_url": "/v2/organizations/4c430daa-72fc-420c-8dba-97169654facd/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ff227043-1568-46a6-aea9-fe1efb5369ea
Content-Length: 1299
X-Content-Type-Options: nosniff