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

Route

PUT /v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/auditors/uaa-id-218

cURL

curl "https://api.[your-domain.com]/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/auditors/uaa-id-218" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOSIsImVtYWlsIjoiZW1haWwtMTU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDJ9.YI4HLKLkxJJVz1L2fKl_T_UwcGs3yZNi70BcxzaCWdA" \
	-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: d21f741b-abd9-42e1-8628-112e1d039c05
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "a3ca14c9-9ebf-498a-b4a3-200bd6232524",
    "url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524",
    "created_at": "2014-11-05T01:02:22+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-772",
    "billing_enabled": false,
    "quota_definition_guid": "7267cef0-6f8b-4ba5-96c2-747d8400c414",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/7267cef0-6f8b-4ba5-96c2-747d8400c414",
    "spaces_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/spaces",
    "domains_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/domains",
    "private_domains_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/private_domains",
    "users_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/users",
    "managers_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/managers",
    "billing_managers_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/billing_managers",
    "auditors_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/auditors",
    "app_events_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/app_events",
    "space_quota_definitions_url": "/v2/organizations/a3ca14c9-9ebf-498a-b4a3-200bd6232524/space_quota_definitions"
  }
}