Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/auditors/uaa-id-136

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNyIsImVtYWlsIjoiZW1haWwtNzZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTM2MjMwMH0.0hKTrZb1HUxNWvWVQKiErJm612pOS5bomndTMhaO60A
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/auditors/uaa-id-136" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNyIsImVtYWlsIjoiZW1haWwtNzZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTM2MjMwMH0.0hKTrZb1HUxNWvWVQKiErJm612pOS5bomndTMhaO60A" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "8c67c2e0-59ec-49c5-a4cb-e694fe045e14",
    "url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14",
    "created_at": "2015-10-13T17:31:40Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-277",
    "billing_enabled": false,
    "quota_definition_guid": "3ee705a8-77d5-4cc6-9393-1673618b4f4a",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/3ee705a8-77d5-4cc6-9393-1673618b4f4a",
    "spaces_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/spaces",
    "domains_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/domains",
    "private_domains_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/private_domains",
    "users_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/users",
    "managers_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/managers",
    "billing_managers_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/billing_managers",
    "auditors_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/auditors",
    "app_events_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/app_events",
    "space_quota_definitions_url": "/v2/organizations/8c67c2e0-59ec-49c5-a4cb-e694fe045e14/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 65fd9ddb-0cb7-4046-b6f7-6b6a3f3039ba
Content-Length: 1299
X-Content-Type-Options: nosniff