Remove Auditor from the Organization
DELETE /v2/organizations/:guid/auditors/:auditor_guid
Request
Route
DELETE /v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/auditors/uaa-id-91
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
auditor_guid
|
The guid of the user
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/auditors/uaa-id-91" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC03N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTk2fQ.rwmrP4zBAnGB5hqByEw9ggwTEekeQle3FuCh3d83L8Y" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd",
"url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd",
"created_at": "2015-08-06T00:36:36Z",
"updated_at": null
},
"entity": {
"name": "name-387",
"billing_enabled": false,
"quota_definition_guid": "384fdda6-f5ac-481d-86e2-7f5599986774",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/384fdda6-f5ac-481d-86e2-7f5599986774",
"spaces_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/spaces",
"domains_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/domains",
"private_domains_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/private_domains",
"users_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/users",
"managers_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/managers",
"billing_managers_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/billing_managers",
"auditors_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/auditors",
"app_events_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/app_events",
"space_quota_definitions_url": "/v2/organizations/f5ac75aa-8aa7-4365-a1a8-2604a7cf7bcd/space_quota_definitions"
}
}
Headers