Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/auditors/uaa-id-117

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/auditors/uaa-id-117" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOCIsImVtYWlsIjoiZW1haWwtMTA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTF9.uSluPISZOh1-njYCs_vZ_lpZldAyrjUNn8o9rBeop58" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e",
    "url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e",
    "created_at": "2015-06-16T23:40:51Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-538",
    "billing_enabled": false,
    "quota_definition_guid": "719cfec6-c8df-48cc-9c4b-f826f62b5805",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/719cfec6-c8df-48cc-9c4b-f826f62b5805",
    "spaces_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/spaces",
    "domains_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/domains",
    "private_domains_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/private_domains",
    "users_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/users",
    "managers_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/managers",
    "billing_managers_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/billing_managers",
    "auditors_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/auditors",
    "app_events_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/app_events",
    "space_quota_definitions_url": "/v2/organizations/57f8ea5f-6ac4-4f3b-9ca0-e6a2c0be7e8e/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4dbac03e-496d-4e76-97f8-55a48729b08f
Content-Length: 1299
X-Content-Type-Options: nosniff