Remove Auditor from the Space
DELETE /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
DELETE /v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/auditors/uaa-id-104
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
auditor_guid
|
The guid of the auditor
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/auditors/uaa-id-104" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNiIsImVtYWlsIjoiZW1haWwtNjNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzNjgyOTc3N30.64ARxC1Rtu1Ad_j-MP9l7XQjDTmzFKgqhVuGP-Ye1rQ" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "0d86d0c9-5d1a-443d-9b32-2bf64e787369",
"url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369",
"created_at": "2015-07-06T23:22:57Z",
"updated_at": null
},
"entity": {
"name": "name-297",
"organization_guid": "6ee7c32a-febf-4381-b29f-5f128e8b3d6c",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/6ee7c32a-febf-4381-b29f-5f128e8b3d6c",
"developers_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/developers",
"managers_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/managers",
"auditors_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/auditors",
"apps_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/apps",
"routes_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/routes",
"domains_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/domains",
"service_instances_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/service_instances",
"app_events_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/app_events",
"events_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/events",
"security_groups_url": "/v2/spaces/0d86d0c9-5d1a-443d-9b32-2bf64e787369/security_groups"
}
}
Headers