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.eyJ1c2VyX2lkIjoidWFhLWlkLTU4IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.Yrgpnu2iAkB-B2T-Dd7jNieEhjpRv_qqlqvxGBTVGtk
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/auditors/uaa-id-56

cURL

curl "https://api.[your-domain.com]/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/auditors/uaa-id-56" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU4IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.Yrgpnu2iAkB-B2T-Dd7jNieEhjpRv_qqlqvxGBTVGtk" \
	-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: 9a1096c4-1d88-4548-82cd-f237572b90d5
Content-Length: 1259
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "e0aba19a-cd5c-4380-9f6e-decb6dcbcc70",
    "url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70",
    "created_at": "2014-12-24T01:39:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-103",
    "organization_guid": "ed41cf80-3be2-4c40-8235-f136ef0fe06c",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/ed41cf80-3be2-4c40-8235-f136ef0fe06c",
    "developers_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/developers",
    "managers_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/managers",
    "auditors_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/auditors",
    "apps_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/apps",
    "routes_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/routes",
    "domains_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/domains",
    "service_instances_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/service_instances",
    "app_events_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/app_events",
    "events_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/events",
    "security_groups_url": "/v2/spaces/e0aba19a-cd5c-4380-9f6e-decb6dcbcc70/security_groups"
  }
}