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/0705aed6-d6f2-4645-a10b-16249ef37177/auditors/uaa-id-342
cURL
curl "https://api.[your-domain.com]/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/auditors/uaa-id-342" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjYyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTN9.fyoYSZhQf4wCPQLJiWyVjIS2-jidUiv_fesBg5LCuC8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "0705aed6-d6f2-4645-a10b-16249ef37177",
"url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177",
"created_at": "2015-01-20T01:52:33+00:00",
"updated_at": null
},
"entity": {
"name": "name-1943",
"billing_enabled": false,
"quota_definition_guid": "7a27dbc7-90c8-4fe1-8734-e890beb867f0",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/7a27dbc7-90c8-4fe1-8734-e890beb867f0",
"spaces_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/spaces",
"domains_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/domains",
"private_domains_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/private_domains",
"users_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/users",
"managers_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/managers",
"billing_managers_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/billing_managers",
"auditors_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/auditors",
"app_events_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/app_events",
"space_quota_definitions_url": "/v2/organizations/0705aed6-d6f2-4645-a10b-16249ef37177/space_quota_definitions"
}
}