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

Route

PUT /v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/auditors/uaa-id-65

cURL

curl "https://api.[your-domain.com]/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/auditors/uaa-id-65" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY2IiwiZW1haWwiOiJlbWFpbC01MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.yyVagSXJ0HbW_qj8KfL8u4qSQgITZJn_6VMUIgPBDho" \
	-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: 5a2842e9-9dd3-4caa-8833-34894ea91161
Content-Length: 1299
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "7d2914b9-3d9e-442f-9a86-041f42ecb8a0",
    "url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0",
    "created_at": "2015-02-10T01:42:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-118",
    "billing_enabled": false,
    "quota_definition_guid": "bcdb8350-12bc-4e76-91f7-98e52d81c977",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/bcdb8350-12bc-4e76-91f7-98e52d81c977",
    "spaces_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/spaces",
    "domains_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/domains",
    "private_domains_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/private_domains",
    "users_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/users",
    "managers_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/managers",
    "billing_managers_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/billing_managers",
    "auditors_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/auditors",
    "app_events_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/app_events",
    "space_quota_definitions_url": "/v2/organizations/7d2914b9-3d9e-442f-9a86-041f42ecb8a0/space_quota_definitions"
  }
}