Home
Version 3
Spaces API

Spaces API

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

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

Route

DELETE /v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/auditors/uaa-id-286

cURL

curl "https://api.[your-domain.com]/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/auditors/uaa-id-286" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OCIsImVtYWlsIjoiZW1haWwtMjE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNjh9.BhPLLnwuNfiO277ApHSXW1AixjoZP6aLmrvm7CxrIxw" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7b2e5261-5f33-4ff2-8d37-acec59a29900
Content-Length: 1260
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5",
    "url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5",
    "created_at": "2014-11-24T19:32:48+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1007",
    "organization_guid": "e7b57131-624c-4837-a5cd-91edc1964370",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/e7b57131-624c-4837-a5cd-91edc1964370",
    "developers_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/developers",
    "managers_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/managers",
    "auditors_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/auditors",
    "apps_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/apps",
    "routes_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/routes",
    "domains_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/domains",
    "service_instances_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/service_instances",
    "app_events_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/app_events",
    "events_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/events",
    "security_groups_url": "/v2/spaces/bf667e3a-cfa6-4501-b6b3-4e17d7c95cc5/security_groups"
  }
}