Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

DELETE /v2/organizations/:guid/auditors/:auditor_guid

Request

Route

DELETE /v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/auditors/uaa-id-129

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMCIsImVtYWlsIjoiZW1haWwtOTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.No3GpgEn0tVcOoFnI50wH0nGAz2KUDG546GJ1qYQTEo
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/auditors/uaa-id-129" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMCIsImVtYWlsIjoiZW1haWwtOTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.No3GpgEn0tVcOoFnI50wH0nGAz2KUDG546GJ1qYQTEo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "024fdb12-f715-4fc7-9e2a-4f77398419e8",
    "url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8",
    "created_at": "2015-04-07T19:11:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-330",
    "billing_enabled": false,
    "quota_definition_guid": "246aa29a-7ea1-4b1c-8e85-7debbe9a50bb",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/246aa29a-7ea1-4b1c-8e85-7debbe9a50bb",
    "spaces_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/spaces",
    "domains_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/domains",
    "private_domains_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/private_domains",
    "users_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/users",
    "managers_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/managers",
    "billing_managers_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/billing_managers",
    "auditors_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/auditors",
    "app_events_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/app_events",
    "space_quota_definitions_url": "/v2/organizations/024fdb12-f715-4fc7-9e2a-4f77398419e8/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e68e78ee-b019-4573-a07d-c041ab26fe40
Content-Length: 1299
X-Content-Type-Options: nosniff