Home
Version 3
Organizations API

Organizations API

Associate Auditor with the Organization

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

Request

Route

PUT /v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/auditors/uaa-id-367

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OCIsImVtYWlsIjoiZW1haWwtMjQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDJ9.KvrMKjXlZzSM2XK_eSjRBbI90C6SS2x69UcA54M2XCc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/auditors/uaa-id-367" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OCIsImVtYWlsIjoiZW1haWwtMjQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDJ9.KvrMKjXlZzSM2XK_eSjRBbI90C6SS2x69UcA54M2XCc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "9af9c82b-4715-464d-ac8a-c7cce6f41790",
    "url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790",
    "created_at": "2015-10-07T00:35:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2170",
    "billing_enabled": false,
    "quota_definition_guid": "e492bfa7-9878-452e-8c3c-751da4a2ac92",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/e492bfa7-9878-452e-8c3c-751da4a2ac92",
    "spaces_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/spaces",
    "domains_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/domains",
    "private_domains_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/private_domains",
    "users_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/users",
    "managers_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/managers",
    "billing_managers_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/billing_managers",
    "auditors_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/auditors",
    "app_events_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/app_events",
    "space_quota_definitions_url": "/v2/organizations/9af9c82b-4715-464d-ac8a-c7cce6f41790/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 18eb5348-0817-4cad-82c3-02790bd48bfe
Content-Length: 1300
X-Content-Type-Options: nosniff