Home
Version 3
Spaces API

Spaces API

Remove Auditor from the Space

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

Request

Route

DELETE /v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/auditors/uaa-id-383

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.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NSIsImVtYWlsIjoiZW1haWwtMjg5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzUwMDB9.F-olxu_ytccP55ZUzP2JZVc-UkR56-p0qjGx47Emm_4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/auditors/uaa-id-383" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NSIsImVtYWlsIjoiZW1haWwtMjg5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzUwMDB9.F-olxu_ytccP55ZUzP2JZVc-UkR56-p0qjGx47Emm_4" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "b99d0ee3-7281-461c-a0e6-301246b54ea7",
    "url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7",
    "created_at": "2015-05-21T01:03:20Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2239",
    "organization_guid": "335ba5e7-cfd1-4c74-bf57-bf3b1c4b2791",
    "space_quota_definition_guid": null,
    "allow_ssh": true,
    "organization_url": "/v2/organizations/335ba5e7-cfd1-4c74-bf57-bf3b1c4b2791",
    "developers_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/developers",
    "managers_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/managers",
    "auditors_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/auditors",
    "apps_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/apps",
    "routes_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/routes",
    "domains_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/domains",
    "service_instances_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/service_instances",
    "app_events_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/app_events",
    "events_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/events",
    "security_groups_url": "/v2/spaces/b99d0ee3-7281-461c-a0e6-301246b54ea7/security_groups"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: cd79eff2-9941-4764-8bdc-82b1025000fa
Content-Length: 1278
X-Content-Type-Options: nosniff