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

Route

PUT /v2/organizations/bde78735-d750-4486-84b2-825a61f22086/auditors/uaa-id-202

cURL

curl "https://api.[your-domain.com]/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/auditors/uaa-id-202" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMyIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDV9.hojp1tXEnuLYxg68CQoXbZavNX0Ko1S59VCqrVbv5dU" \
	-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: eefeb629-e043-47f4-bfaf-30cf3b1e7c8b
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "bde78735-d750-4486-84b2-825a61f22086",
    "url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086",
    "created_at": "2014-11-13T23:38:25+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-745",
    "billing_enabled": false,
    "quota_definition_guid": "95c474f3-9663-42a1-a35d-2242eb5d1cc8",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/95c474f3-9663-42a1-a35d-2242eb5d1cc8",
    "spaces_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/spaces",
    "domains_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/domains",
    "private_domains_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/private_domains",
    "users_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/users",
    "managers_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/managers",
    "billing_managers_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/billing_managers",
    "auditors_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/auditors",
    "app_events_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/app_events",
    "space_quota_definitions_url": "/v2/organizations/bde78735-d750-4486-84b2-825a61f22086/space_quota_definitions"
  }
}