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.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MiIsImVtYWlsIjoiZW1haWwtMTg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzJ9.-SInUXEwUe2Inr-CsK4QjPxlC6b_LGct9KYS9dD0mGE
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/auditors/uaa-id-270

cURL

curl "https://api.[your-domain.com]/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/auditors/uaa-id-270" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MiIsImVtYWlsIjoiZW1haWwtMTg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzJ9.-SInUXEwUe2Inr-CsK4QjPxlC6b_LGct9KYS9dD0mGE" \
	-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: 486b7a87-1e76-4c81-a5ff-3d7c5e411167
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "1ae4be47-1fa7-4c83-bdb9-2c0c488553ab",
    "url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab",
    "created_at": "2015-02-10T01:42:52Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1380",
    "organization_guid": "6ddb7d16-7c06-4868-abaa-e9ff215cc9de",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/6ddb7d16-7c06-4868-abaa-e9ff215cc9de",
    "developers_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/developers",
    "managers_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/managers",
    "auditors_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/auditors",
    "apps_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/apps",
    "routes_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/routes",
    "domains_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/domains",
    "service_instances_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/service_instances",
    "app_events_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/app_events",
    "events_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/events",
    "security_groups_url": "/v2/spaces/1ae4be47-1fa7-4c83-bdb9-2c0c488553ab/security_groups"
  }
}