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

Route

DELETE /v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/auditors/uaa-id-89

cURL

curl "https://api.[your-domain.com]/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/auditors/uaa-id-89" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkxIiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg5fQ._dsvfOrO08Vip0_wrV0k8IqyDvImRprl88Jafp7Cs2o" \
	-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: 162883b9-faab-4595-b0c1-be3d51b149ef
Content-Length: 1254
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "7cb5b217-6d74-4ba1-8ef6-abef873bf077",
    "url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077",
    "created_at": "2015-02-13T22:34:49Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-245",
    "organization_guid": "1fee8741-6447-4ea7-a12b-212972e36e02",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/1fee8741-6447-4ea7-a12b-212972e36e02",
    "developers_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/developers",
    "managers_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/managers",
    "auditors_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/auditors",
    "apps_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/apps",
    "routes_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/routes",
    "domains_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/domains",
    "service_instances_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/service_instances",
    "app_events_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/app_events",
    "events_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/events",
    "security_groups_url": "/v2/spaces/7cb5b217-6d74-4ba1-8ef6-abef873bf077/security_groups"
  }
}