Home
Version 3
Spaces API

Spaces API

Remove Auditor from the Space

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

Request

Route

DELETE /v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/auditors/uaa-id-130

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.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMiIsImVtYWlsIjoiZW1haWwtMTI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTR9.p6nwjLnlzfVzF_yFzFt-97eCfJCNso1rEePU9csrdow
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/auditors/uaa-id-130" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMiIsImVtYWlsIjoiZW1haWwtMTI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTR9.p6nwjLnlzfVzF_yFzFt-97eCfJCNso1rEePU9csrdow" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "5a3ea2aa-a1c0-4451-9624-cd8b6e597c80",
    "url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80",
    "created_at": "2015-05-15T16:53:34Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-730",
    "organization_guid": "871f2bc2-16a8-4f48-a9df-c67e9280cf59",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/871f2bc2-16a8-4f48-a9df-c67e9280cf59",
    "developers_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/developers",
    "managers_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/managers",
    "auditors_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/auditors",
    "apps_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/apps",
    "routes_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/routes",
    "domains_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/domains",
    "service_instances_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/service_instances",
    "app_events_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/app_events",
    "events_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/events",
    "security_groups_url": "/v2/spaces/5a3ea2aa-a1c0-4451-9624-cd8b6e597c80/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: fc00c2cf-299c-4899-b14d-e051bc92ee2a
Content-Length: 1277
X-Content-Type-Options: nosniff