Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/auditors/uaa-id-364

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NSIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDJ9.QWXZvCV-W9eMSPq98soRaKY4PzqLY47hr23GvB-luFk
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/auditors/uaa-id-364" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NSIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDJ9.QWXZvCV-W9eMSPq98soRaKY4PzqLY47hr23GvB-luFk" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "8e9e064c-1de3-4df6-bf07-e9edcd36c783",
    "url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783",
    "created_at": "2015-10-07T00:35:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2168",
    "billing_enabled": false,
    "quota_definition_guid": "aa7b201d-ed96-4162-b4e0-bc65643cce9d",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/aa7b201d-ed96-4162-b4e0-bc65643cce9d",
    "spaces_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/spaces",
    "domains_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/domains",
    "private_domains_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/private_domains",
    "users_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/users",
    "managers_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/managers",
    "billing_managers_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/billing_managers",
    "auditors_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/auditors",
    "app_events_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/app_events",
    "space_quota_definitions_url": "/v2/organizations/8e9e064c-1de3-4df6-bf07-e9edcd36c783/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 09e302f5-b406-4a45-bd70-37e10eaee94f
Content-Length: 1300
X-Content-Type-Options: nosniff