Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg1fQ.60t8MCpSV7VXHKCg8xnEFHB0CyK138WP2XMm86kz_-s
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/auditors/uaa-id-26

cURL

curl "https://api.[your-domain.com]/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/auditors/uaa-id-26" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg1fQ.60t8MCpSV7VXHKCg8xnEFHB0CyK138WP2XMm86kz_-s" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b97690eb-b75d-4cb6-8d10-63fdf18b16ed
Content-Length: 1298
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "a3184229-7fcb-42d0-95b1-7c5dd96b109f",
    "url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f",
    "created_at": "2015-02-13T22:34:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-54",
    "billing_enabled": false,
    "quota_definition_guid": "f64abb73-1150-456d-aa37-7ef6eafd3936",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/f64abb73-1150-456d-aa37-7ef6eafd3936",
    "spaces_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/spaces",
    "domains_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/domains",
    "private_domains_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/private_domains",
    "users_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/users",
    "managers_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/managers",
    "billing_managers_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/billing_managers",
    "auditors_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/auditors",
    "app_events_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/app_events",
    "space_quota_definitions_url": "/v2/organizations/a3184229-7fcb-42d0-95b1-7c5dd96b109f/space_quota_definitions"
  }
}