Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/auditors/uaa-id-117

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/auditors/uaa-id-117" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOCIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjYzMzkwMX0.UtenNibrMo6BJ_vA1Xj7KtVO5VsUbAWCu4XEj2Y2i4E" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "46c1ab7a-a204-4f56-b1a2-0f42c46f57d2",
    "url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2",
    "created_at": "2015-03-10T23:11:41Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-378",
    "billing_enabled": false,
    "quota_definition_guid": "c437e94e-6fb9-4f9f-85b2-b2b41f607f85",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/c437e94e-6fb9-4f9f-85b2-b2b41f607f85",
    "spaces_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/spaces",
    "domains_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/domains",
    "private_domains_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/private_domains",
    "users_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/users",
    "managers_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/managers",
    "billing_managers_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/billing_managers",
    "auditors_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/auditors",
    "app_events_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/app_events",
    "space_quota_definitions_url": "/v2/organizations/46c1ab7a-a204-4f56-b1a2-0f42c46f57d2/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 76fcd27f-bf40-44fb-8bc4-5cc18aa7835d
Content-Length: 1299
X-Content-Type-Options: nosniff