Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/auditors/uaa-id-48

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/auditors/uaa-id-48" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ5IiwiZW1haWwiOiJlbWFpbC0zMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU2fQ.NSPFcaiR2YBl22DnHGSjOcTfnh6lodY2mvdf0xMznPM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "ca03ad65-f918-434e-861f-c1d29796e0f9",
    "url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9",
    "created_at": "2015-03-18T22:52:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-90",
    "billing_enabled": false,
    "quota_definition_guid": "32e8d699-c784-4e90-a458-c31cf3ac764a",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/32e8d699-c784-4e90-a458-c31cf3ac764a",
    "spaces_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/spaces",
    "domains_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/domains",
    "private_domains_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/private_domains",
    "users_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/users",
    "managers_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/managers",
    "billing_managers_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/billing_managers",
    "auditors_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/auditors",
    "app_events_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/app_events",
    "space_quota_definitions_url": "/v2/organizations/ca03ad65-f918-434e-861f-c1d29796e0f9/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9e72d0ad-bce7-4679-94e6-72ab95c1ceb7
Content-Length: 1298
X-Content-Type-Options: nosniff