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/f769fe73-426a-4351-95e9-ae2c2c4e48bd/auditors/uaa-id-60
cURL
curl "https://api.[your-domain.com]/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/auditors/uaa-id-60" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYxIiwiZW1haWwiOiJlbWFpbC00OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.N9FdBCT4keJwyP_7RTmjQ0v3_xosvTHQSShTWq5TD_g" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "f769fe73-426a-4351-95e9-ae2c2c4e48bd",
"url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd",
"created_at": "2015-02-10T01:42:44Z",
"updated_at": null
},
"entity": {
"name": "name-114",
"billing_enabled": false,
"quota_definition_guid": "d485918c-50e1-4fb9-b827-29263ddfe7c0",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/d485918c-50e1-4fb9-b827-29263ddfe7c0",
"spaces_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/spaces",
"domains_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/domains",
"private_domains_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/private_domains",
"users_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/users",
"managers_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/managers",
"billing_managers_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/billing_managers",
"auditors_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/auditors",
"app_events_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/app_events",
"space_quota_definitions_url": "/v2/organizations/f769fe73-426a-4351-95e9-ae2c2c4e48bd/space_quota_definitions"
}
}