Home
Version 3
Organizations API

Organizations API

Associate Auditor with the Organization

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

Request

Route

PUT /v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/auditors/uaa-id-134

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNSIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.91hokVCAqoJmxQyKc1E6e7rn2px4n3slJonjPhQKHYM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/auditors/uaa-id-134" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNSIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTAzODcwMn0.91hokVCAqoJmxQyKc1E6e7rn2px4n3slJonjPhQKHYM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079",
    "url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079",
    "created_at": "2015-04-07T19:11:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-334",
    "billing_enabled": false,
    "quota_definition_guid": "7d484632-e944-4555-bc6f-9d1666c061d9",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/7d484632-e944-4555-bc6f-9d1666c061d9",
    "spaces_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/spaces",
    "domains_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/domains",
    "private_domains_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/private_domains",
    "users_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/users",
    "managers_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/managers",
    "billing_managers_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/billing_managers",
    "auditors_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/auditors",
    "app_events_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/app_events",
    "space_quota_definitions_url": "/v2/organizations/e6c9c6a0-3f24-4dcb-a0b2-eb99be1b7079/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 58eb7ff9-a4ab-47f2-be2e-675712ccd456
Content-Length: 1299
X-Content-Type-Options: nosniff