Home
Version 3
Spaces API

Spaces API

Remove Auditor from the Space

DELETE /v2/spaces/:guid/auditors/:auditor_guid

Request

Route

DELETE /v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/auditors/uaa-id-75

Parameters

Name Description Valid Values Example Values
guid The guid of the Space

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc3IiwiZW1haWwiOiJlbWFpbC01NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQzfQ.pcGzRPEq6bgSaftwm7dXn9oClByR0N38XmY56qo9FP8
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/auditors/uaa-id-75" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc3IiwiZW1haWwiOiJlbWFpbC01NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQzfQ.pcGzRPEq6bgSaftwm7dXn9oClByR0N38XmY56qo9FP8" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "fd1e4bd9-f9a2-4f33-a863-ac1752438df6",
    "url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6",
    "created_at": "2015-03-20T18:27:23Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-208",
    "organization_guid": "b36477ae-3083-440d-83df-6d49946fc1e4",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/b36477ae-3083-440d-83df-6d49946fc1e4",
    "developers_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/developers",
    "managers_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/managers",
    "auditors_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/auditors",
    "apps_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/apps",
    "routes_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/routes",
    "domains_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/domains",
    "service_instances_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/service_instances",
    "app_events_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/app_events",
    "events_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/events",
    "security_groups_url": "/v2/spaces/fd1e4bd9-f9a2-4f33-a863-ac1752438df6/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 044e0752-59da-4f33-ba3e-4b57bc80d7f3
Content-Length: 1254
X-Content-Type-Options: nosniff