Home
Version 3
Spaces API

Spaces API

Remove Auditor from the Space

DELETE /v2/spaces/:guid/auditors/:auditor_guid

Request

Route

DELETE /v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/auditors/uaa-id-99

Parameters

Name Description Valid Values Example Values
guid The guid of the Space

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMSIsImVtYWlsIjoiZW1haWwtNjRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzMyMzk1OX0.D4IU-3wxGzmHYvW9v-gIP987R0BfwvjIoE2m93wDK60
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/auditors/uaa-id-99" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMSIsImVtYWlsIjoiZW1haWwtNjRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzMyMzk1OX0.D4IU-3wxGzmHYvW9v-gIP987R0BfwvjIoE2m93wDK60" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "60ed636a-f04c-46aa-971c-18f7babcd14d",
    "url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d",
    "created_at": "2015-03-18T22:52:39Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-248",
    "organization_guid": "08047710-2337-441f-94be-c78a55892bd4",
    "space_quota_definition_guid": null,
    "organization_url": "/v2/organizations/08047710-2337-441f-94be-c78a55892bd4",
    "developers_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/developers",
    "managers_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/managers",
    "auditors_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/auditors",
    "apps_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/apps",
    "routes_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/routes",
    "domains_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/domains",
    "service_instances_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/service_instances",
    "app_events_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/app_events",
    "events_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/events",
    "security_groups_url": "/v2/spaces/60ed636a-f04c-46aa-971c-18f7babcd14d/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c12e2625-d36f-4928-ba66-26abdca9c29f
Content-Length: 1254
X-Content-Type-Options: nosniff