Remove Auditor from the Organization
DELETE /v2/organizations/:guid/auditors/:auditor_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Request
Headers
Route
DELETE /v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/auditors/uaa-id-120
cURL
curl "https://api.[your-domain.com]/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/auditors/uaa-id-120" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMSIsImVtYWlsIjoiZW1haWwtMTAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTh9.0JQL49vnA2SV3U5DpANJMkJnCxaQ-j4Eb7mluLDkTSw" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "2fb5e5f8-9455-40ac-9e36-1e6fbca0662a",
"url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a",
"created_at": "2014-11-24T19:32:38+00:00",
"updated_at": null
},
"entity": {
"name": "name-520",
"billing_enabled": false,
"quota_definition_guid": "17e8a276-770f-4d6c-81b9-1f4d8ebbf5a5",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/17e8a276-770f-4d6c-81b9-1f4d8ebbf5a5",
"spaces_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/spaces",
"domains_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/domains",
"private_domains_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/private_domains",
"users_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/users",
"managers_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/managers",
"billing_managers_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/billing_managers",
"auditors_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/auditors",
"app_events_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/app_events",
"space_quota_definitions_url": "/v2/organizations/2fb5e5f8-9455-40ac-9e36-1e6fbca0662a/space_quota_definitions"
}
}