Associate Auditor with the Organization
PUT /v2/organizations/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/auditors/uaa-id-120
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/auditors/uaa-id-120" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMSIsImVtYWlsIjoiZW1haWwtMTA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTF9.gjEvaqPQR0yVtRv7FRKifygsgyoxv5bUe8WN380DmYs" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "915eddc7-d038-470e-9eb8-b2e1bf0e3e8e",
"url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e",
"created_at": "2015-06-16T23:40:51Z",
"updated_at": null
},
"entity": {
"name": "name-540",
"billing_enabled": false,
"quota_definition_guid": "cd5ce363-9cb9-4142-b09c-f5900558b633",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/cd5ce363-9cb9-4142-b09c-f5900558b633",
"spaces_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/spaces",
"domains_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/domains",
"private_domains_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/private_domains",
"users_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/users",
"managers_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/managers",
"billing_managers_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/billing_managers",
"auditors_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/auditors",
"app_events_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/app_events",
"space_quota_definitions_url": "/v2/organizations/915eddc7-d038-470e-9eb8-b2e1bf0e3e8e/space_quota_definitions"
}
}
Headers