Associate Auditor with the Organization
PUT /v2/organizations/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/auditors/uaa-id-185
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/f06f58ca-c7be-4275-aa46-5dc31793d753/auditors/uaa-id-185" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NiIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5Nzl9.gxk9Fd_rOqIkfG_m2NguusZEGut2ExmDR05IdWi43Bw" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f06f58ca-c7be-4275-aa46-5dc31793d753",
"url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753",
"created_at": "2016-01-13T17:29:39Z",
"updated_at": null
},
"entity": {
"name": "name-543",
"billing_enabled": false,
"quota_definition_guid": "819568e8-8694-47cb-8173-ce0c2412a672",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/819568e8-8694-47cb-8173-ce0c2412a672",
"spaces_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/spaces",
"domains_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/domains",
"private_domains_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/private_domains",
"users_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/users",
"managers_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/managers",
"billing_managers_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/billing_managers",
"auditors_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/auditors",
"app_events_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/app_events",
"space_quota_definitions_url": "/v2/organizations/f06f58ca-c7be-4275-aa46-5dc31793d753/space_quota_definitions"
}
}
Headers