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

Route

PUT /v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/auditors/uaa-id-345

cURL

curl "https://api.[your-domain.com]/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/auditors/uaa-id-345" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTR9.iptXTE9ldHwKhmrpPdGlLXQ9nR7eIoCm3fJ1GxgMNvU" \
	-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: a1127d78-f214-44cb-b0f8-3fff39665418
Content-Length: 1305
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "67f9b62c-8345-4ebc-adbb-63c991caee15",
    "url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15",
    "created_at": "2015-01-20T01:52:33+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1945",
    "billing_enabled": false,
    "quota_definition_guid": "0ad912bb-b930-407a-9e89-6407fd61d51f",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/0ad912bb-b930-407a-9e89-6407fd61d51f",
    "spaces_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/spaces",
    "domains_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/domains",
    "private_domains_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/private_domains",
    "users_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/users",
    "managers_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/managers",
    "billing_managers_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/billing_managers",
    "auditors_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/auditors",
    "app_events_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/app_events",
    "space_quota_definitions_url": "/v2/organizations/67f9b62c-8345-4ebc-adbb-63c991caee15/space_quota_definitions"
  }
}