Home
Version 3
Spaces API

Spaces API

Remove Auditor from the Space

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

Request

Route

DELETE /v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/auditors/uaa-id-229

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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDl9.9klJAxmmJvGOUZtxgAt8l4HavWIGJMMoIevWQO1_mGc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/auditors/uaa-id-229" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDl9.9klJAxmmJvGOUZtxgAt8l4HavWIGJMMoIevWQO1_mGc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "dce96b6c-3098-47ae-bbc7-eca840e39e55",
    "url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55",
    "created_at": "2015-03-05T19:15:49Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-700",
    "organization_guid": "ec7ad359-edd2-4e2d-995e-0bd64b82ef69",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/ec7ad359-edd2-4e2d-995e-0bd64b82ef69",
    "developers_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/developers",
    "managers_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/managers",
    "auditors_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/auditors",
    "apps_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/apps",
    "routes_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/routes",
    "domains_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/domains",
    "service_instances_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/service_instances",
    "app_events_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/app_events",
    "events_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/events",
    "security_groups_url": "/v2/spaces/dce96b6c-3098-47ae-bbc7-eca840e39e55/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6545f352-8947-4f0b-9d24-07964bafac13
Content-Length: 1254
X-Content-Type-Options: nosniff