Associate Auditor with the Organization
PUT /v2/organizations/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/auditors/uaa-id-414
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
auditor_guid
|
The guid of the user
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/auditors/uaa-id-414" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxNSIsImVtYWlsIjoiZW1haWwtMzAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mzh9.9z6LFg-xkff546HrHD-oLqjulJPdoAVqg5dcApFzofY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "162ce29a-85d4-4e74-94d4-e9e7f3790978",
"url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978",
"created_at": "2015-11-30T23:38:58Z",
"updated_at": null
},
"entity": {
"name": "name-2480",
"billing_enabled": false,
"quota_definition_guid": "3082e0f4-bc48-4dfb-b867-12c293203dce",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/3082e0f4-bc48-4dfb-b867-12c293203dce",
"spaces_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/spaces",
"domains_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/domains",
"private_domains_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/private_domains",
"users_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/users",
"managers_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/managers",
"billing_managers_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/billing_managers",
"auditors_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/auditors",
"app_events_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/app_events",
"space_quota_definitions_url": "/v2/organizations/162ce29a-85d4-4e74-94d4-e9e7f3790978/space_quota_definitions"
}
}
Headers