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

Route

DELETE /v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/auditors/uaa-id-304

cURL

curl "https://api.[your-domain.com]/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/auditors/uaa-id-304" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNSIsImVtYWlsIjoiZW1haWwtMjQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDF9.unNf7sKUgx5SaKaYov0VMeI9T-yb8NwQoFZynwGT2Gw" \
	-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: a35dc8c8-4ce3-4669-b6ea-02b35a5e0419
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "0f1e91d0-3c0f-4883-9517-de8c563e3a5a",
    "url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a",
    "created_at": "2015-02-12T01:42:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1933",
    "billing_enabled": false,
    "quota_definition_guid": "6cd79266-30f5-47cf-bb09-a9c1343d7660",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/6cd79266-30f5-47cf-bb09-a9c1343d7660",
    "spaces_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/spaces",
    "domains_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/domains",
    "private_domains_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/private_domains",
    "users_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/users",
    "managers_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/managers",
    "billing_managers_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/billing_managers",
    "auditors_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/auditors",
    "app_events_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/app_events",
    "space_quota_definitions_url": "/v2/organizations/0f1e91d0-3c0f-4883-9517-de8c563e3a5a/space_quota_definitions"
  }
}