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.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOCIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTJ9.QdK9tj9o-jqCkaIlH22Bj-UOkGidRlMLa4LCxwpUxGg
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/auditors/uaa-id-306

cURL

curl "https://api.[your-domain.com]/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/auditors/uaa-id-306" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOCIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTJ9.QdK9tj9o-jqCkaIlH22Bj-UOkGidRlMLa4LCxwpUxGg" \
	-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: f0e5b953-70c1-4821-9868-415253c1f8f8
Content-Length: 1260
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "f34d77db-5903-46a5-a0f8-748be6cc8d49",
    "url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49",
    "created_at": "2015-01-20T01:52:32+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1879",
    "organization_guid": "fa9b758f-fbe9-461e-9981-0c6556970205",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/fa9b758f-fbe9-461e-9981-0c6556970205",
    "developers_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/developers",
    "managers_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/managers",
    "auditors_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/auditors",
    "apps_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/apps",
    "routes_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/routes",
    "domains_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/domains",
    "service_instances_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/service_instances",
    "app_events_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/app_events",
    "events_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/events",
    "security_groups_url": "/v2/spaces/f34d77db-5903-46a5-a0f8-748be6cc8d49/security_groups"
  }
}