Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/auditors/uaa-id-368

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9._8jjKHrs_DFzfdcqiGddbbMd6rVXMUKVZOEv1LobGKo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/auditors/uaa-id-368" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9._8jjKHrs_DFzfdcqiGddbbMd6rVXMUKVZOEv1LobGKo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "a3ee954b-b2bf-431c-a344-0fe6f71051eb",
    "url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb",
    "created_at": "2015-07-06T23:23:18Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2185",
    "billing_enabled": false,
    "quota_definition_guid": "ce0260cf-46d7-4497-83c7-2fd057f34dfd",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/ce0260cf-46d7-4497-83c7-2fd057f34dfd",
    "spaces_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/spaces",
    "domains_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/domains",
    "private_domains_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/private_domains",
    "users_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/users",
    "managers_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/managers",
    "billing_managers_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/billing_managers",
    "auditors_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/auditors",
    "app_events_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/app_events",
    "space_quota_definitions_url": "/v2/organizations/a3ee954b-b2bf-431c-a344-0fe6f71051eb/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: eb8924b2-a1e7-4d79-8f10-3a644be3f461
Content-Length: 1300
X-Content-Type-Options: nosniff