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

Route

PUT /v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/auditors/uaa-id-29

cURL

curl "https://api.[your-domain.com]/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/auditors/uaa-id-29" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg1fQ.RpkctVFyGVunNDYhQjDzvhw1Q8cMaEBgCZygvCCQeE0" \
	-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: 1debb8bb-5f70-419c-be52-48acc0fe39d4
Content-Length: 1298
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "7e0fe745-9d88-4b9c-956f-a00b74d6d528",
    "url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528",
    "created_at": "2015-02-13T22:34:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-56",
    "billing_enabled": false,
    "quota_definition_guid": "907ebb4e-b112-4f8d-a467-8de5678ae169",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/907ebb4e-b112-4f8d-a467-8de5678ae169",
    "spaces_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/spaces",
    "domains_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/domains",
    "private_domains_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/private_domains",
    "users_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/users",
    "managers_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/managers",
    "billing_managers_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/billing_managers",
    "auditors_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/auditors",
    "app_events_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/app_events",
    "space_quota_definitions_url": "/v2/organizations/7e0fe745-9d88-4b9c-956f-a00b74d6d528/space_quota_definitions"
  }
}