Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

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

Request

Route

DELETE /v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/auditors/uaa-id-69

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcwIiwiZW1haWwiOiJlbWFpbC00MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQxNjYyNTk2fQ.wEqG_1dvVR54k2lQIlAPqYGJO75X90Ic-8LcMiXRYog
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/auditors/uaa-id-69" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcwIiwiZW1haWwiOiJlbWFpbC00MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQxNjYyNTk2fQ.wEqG_1dvVR54k2lQIlAPqYGJO75X90Ic-8LcMiXRYog" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "4e4dd0eb-5736-4392-babf-816db08279e6",
    "url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6",
    "created_at": "2015-08-31T21:49:56Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-276",
    "billing_enabled": false,
    "quota_definition_guid": "adfc4c8c-b216-42eb-bd70-50a10db56319",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/adfc4c8c-b216-42eb-bd70-50a10db56319",
    "spaces_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/spaces",
    "domains_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/domains",
    "private_domains_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/private_domains",
    "users_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/users",
    "managers_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/managers",
    "billing_managers_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/billing_managers",
    "auditors_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/auditors",
    "app_events_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/app_events",
    "space_quota_definitions_url": "/v2/organizations/4e4dd0eb-5736-4392-babf-816db08279e6/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ca1c9d10-647b-420e-9766-c8c8032a799a
Content-Length: 1299
X-Content-Type-Options: nosniff