Remove Auditor from the Space
DELETE /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
DELETE /v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/auditors/uaa-id-167
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/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/auditors/uaa-id-167" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2OSIsImVtYWlsIjoiZW1haWwtOThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzOX0.A7HOfqxvwUAA0ZEWwcRawuRYRy1ZLRShsmUlEqXo7Co" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "9c62f5d8-48a2-4640-9c70-9bf9814f9be6",
"url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6",
"created_at": "2015-10-15T23:52:19Z",
"updated_at": null
},
"entity": {
"name": "name-1363",
"organization_guid": "e33c58b2-82de-4c36-8d90-33b010772a03",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/e33c58b2-82de-4c36-8d90-33b010772a03",
"developers_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/developers",
"managers_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/managers",
"auditors_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/auditors",
"apps_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/apps",
"routes_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/routes",
"domains_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/domains",
"service_instances_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/service_instances",
"app_events_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/app_events",
"events_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/events",
"security_groups_url": "/v2/spaces/9c62f5d8-48a2-4640-9c70-9bf9814f9be6/security_groups"
}
}
Headers