Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/auditors/uaa-id-149

Parameters

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

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/auditors/uaa-id-149" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MCIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzMH0.BThfGh78CujqG8xb737Ti6RgQcLpuj6TKrGSLx5ZZPU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "57b95eca-942b-4f35-931d-3fb8c8043369",
    "url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369",
    "created_at": "2015-09-11T18:38:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-320",
    "billing_enabled": false,
    "quota_definition_guid": "5adb0a1d-91d6-471c-8657-87baa7d3ca6b",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/5adb0a1d-91d6-471c-8657-87baa7d3ca6b",
    "spaces_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/spaces",
    "domains_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/domains",
    "private_domains_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/private_domains",
    "users_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/users",
    "managers_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/managers",
    "billing_managers_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/billing_managers",
    "auditors_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/auditors",
    "app_events_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/app_events",
    "space_quota_definitions_url": "/v2/organizations/57b95eca-942b-4f35-931d-3fb8c8043369/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 44e32f93-da1c-44ef-afa9-8665d1b724a4
Content-Length: 1299
X-Content-Type-Options: nosniff