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.eyJ1c2VyX2lkIjoidWFhLWlkLTM4MSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDR9.s0DL7Di1Req2oDVbHs-FZ4ZiH0I96kk4MWw29aRk2CE
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/auditors/uaa-id-379

cURL

curl "https://api.[your-domain.com]/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/auditors/uaa-id-379" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4MSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDR9.s0DL7Di1Req2oDVbHs-FZ4ZiH0I96kk4MWw29aRk2CE" \
	-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: f7312d1f-95d9-4e2e-b433-908de3266186
Content-Length: 1255
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "fa19ece4-3c70-43d9-94a2-a0050b9b29e6",
    "url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6",
    "created_at": "2015-02-12T01:42:24Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2048",
    "organization_guid": "328648ab-1f63-4bba-8065-5ca959c1149d",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/328648ab-1f63-4bba-8065-5ca959c1149d",
    "developers_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/developers",
    "managers_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/managers",
    "auditors_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/auditors",
    "apps_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/apps",
    "routes_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/routes",
    "domains_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/domains",
    "service_instances_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/service_instances",
    "app_events_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/app_events",
    "events_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/events",
    "security_groups_url": "/v2/spaces/fa19ece4-3c70-43d9-94a2-a0050b9b29e6/security_groups"
  }
}