Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/auditors/uaa-id-146

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/auditors/uaa-id-146" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NyIsImVtYWlsIjoiZW1haWwtMTA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NjV9.APVUgeGp4qxd7KKgRCb07YfNRkf1rSiUrYK_qpCQb1Q" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "e51cac7e-76e6-4049-8ecb-af223f129918",
    "url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918",
    "created_at": "2015-03-03T00:51:05Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1093",
    "billing_enabled": false,
    "quota_definition_guid": "a38c7fac-9493-4e9f-b492-c40f05b5fb98",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/a38c7fac-9493-4e9f-b492-c40f05b5fb98",
    "spaces_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/spaces",
    "domains_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/domains",
    "private_domains_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/private_domains",
    "users_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/users",
    "managers_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/managers",
    "billing_managers_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/billing_managers",
    "auditors_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/auditors",
    "app_events_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/app_events",
    "space_quota_definitions_url": "/v2/organizations/e51cac7e-76e6-4049-8ecb-af223f129918/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 74c02fed-cc67-4dd3-a0cf-db030195459a
Content-Length: 1300
X-Content-Type-Options: nosniff