Remove Auditor from the Space
DELETE /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
DELETE /v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/auditors/uaa-id-58
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/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/auditors/uaa-id-58" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYwIiwiZW1haWwiOiJlbWFpbC0zN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTIxfQ.oRDUc4-hYSYywAQnvQ8ytj5joFnmxVkz1tA-XHmBP-o" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280",
"url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280",
"created_at": "2015-10-07T00:35:21Z",
"updated_at": null
},
"entity": {
"name": "name-137",
"organization_guid": "1dbd1f27-08ea-456c-9a87-6957aff74642",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/1dbd1f27-08ea-456c-9a87-6957aff74642",
"developers_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/developers",
"managers_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/managers",
"auditors_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/auditors",
"apps_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/apps",
"routes_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/routes",
"domains_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/domains",
"service_instances_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/service_instances",
"app_events_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/app_events",
"events_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/events",
"security_groups_url": "/v2/spaces/ffa7f8c5-ed47-42f8-9fc6-1f4ca4ba3280/security_groups"
}
}
Headers