Remove Auditor from the Space
DELETE /v2/spaces/:guid/auditors/:auditor_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Request
Headers
Route
DELETE /v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/auditors/uaa-id-185
cURL
curl "https://api.[your-domain.com]/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/auditors/uaa-id-185" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NyIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxMzl9.pWO4olqFNAI5Q-A6lTo7F9CnAAFC7OFH3gKCGmnQ-eo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "2d0d7f38-96a7-4f25-881d-b70102cd9cae",
"url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae",
"created_at": "2014-11-05T01:02:19+00:00",
"updated_at": null
},
"entity": {
"name": "name-713",
"organization_guid": "5ad05ebc-19b7-4ff6-be31-f0cb81f9a904",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/5ad05ebc-19b7-4ff6-be31-f0cb81f9a904",
"developers_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/developers",
"managers_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/managers",
"auditors_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/auditors",
"apps_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/apps",
"routes_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/routes",
"domains_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/domains",
"service_instances_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/service_instances",
"app_events_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/app_events",
"events_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/events",
"security_groups_url": "/v2/spaces/2d0d7f38-96a7-4f25-881d-b70102cd9cae/security_groups"
}
}