Remove Auditor from the Organization
DELETE /v2/organizations/:guid/auditors/:auditor_guid
Request
Route
DELETE /v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/auditors/uaa-id-182
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/auditors/uaa-id-182" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4MyIsImVtYWlsIjoiZW1haWwtMTU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTV9.ihr3SHiiWza4PkuqMBIQg1pXBdd8CGTFtOYl_79yZyM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "b2a63efe-94f1-4d3c-82e1-9e19533f7d47",
"url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47",
"created_at": "2015-05-15T16:53:35Z",
"updated_at": null
},
"entity": {
"name": "name-811",
"billing_enabled": false,
"quota_definition_guid": "1f88e134-d79c-4d76-8cbe-ec30f5bc66fa",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/1f88e134-d79c-4d76-8cbe-ec30f5bc66fa",
"spaces_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/spaces",
"domains_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/domains",
"private_domains_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/private_domains",
"users_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/users",
"managers_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/managers",
"billing_managers_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/billing_managers",
"auditors_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/auditors",
"app_events_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/app_events",
"space_quota_definitions_url": "/v2/organizations/b2a63efe-94f1-4d3c-82e1-9e19533f7d47/space_quota_definitions"
}
}
Headers