Home
Version 3
Organizations API

Organizations API

Associate Auditor with the Organization

PUT /v2/organizations/:guid/auditors/:auditor_guid

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOCIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDF9.0nm4F_4kCpy7I6xzgnjiF5eAJ6w-o0ojfeV6kdVkFDA
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

PUT /v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/auditors/uaa-id-307

cURL

curl "https://api.[your-domain.com]/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/auditors/uaa-id-307" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOCIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDF9.0nm4F_4kCpy7I6xzgnjiF5eAJ6w-o0ojfeV6kdVkFDA" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 20e303d9-1cd3-4d81-b2a6-558169acb58a
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "a5cdf010-5e40-4d29-927d-d3528fec5bbb",
    "url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb",
    "created_at": "2015-02-12T01:42:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1935",
    "billing_enabled": false,
    "quota_definition_guid": "c169651d-8464-4d09-b92d-7a98cb294163",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/c169651d-8464-4d09-b92d-7a98cb294163",
    "spaces_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/spaces",
    "domains_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/domains",
    "private_domains_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/private_domains",
    "users_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/users",
    "managers_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/managers",
    "billing_managers_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/billing_managers",
    "auditors_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/auditors",
    "app_events_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/app_events",
    "space_quota_definitions_url": "/v2/organizations/a5cdf010-5e40-4d29-927d-d3528fec5bbb/space_quota_definitions"
  }
}