Remove Auditor from the Space
DELETE /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
DELETE /v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/auditors/uaa-id-63
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/auditors/uaa-id-63" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY1IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAwfQ.jv_jaIy6j8z3bQXqVafLsnHKlWZ14igaOse3Du5V0CY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "3589f6f7-301d-4d56-bda4-b07168f8322e",
"url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e",
"created_at": "2015-04-07T19:11:40Z",
"updated_at": null
},
"entity": {
"name": "name-228",
"organization_guid": "e29a78aa-6b36-490b-a14e-9ea0940a620b",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/e29a78aa-6b36-490b-a14e-9ea0940a620b",
"developers_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/developers",
"managers_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/managers",
"auditors_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/auditors",
"apps_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/apps",
"routes_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/routes",
"domains_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/domains",
"service_instances_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/service_instances",
"app_events_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/app_events",
"events_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/events",
"security_groups_url": "/v2/spaces/3589f6f7-301d-4d56-bda4-b07168f8322e/security_groups"
}
}
Headers