Associate Auditor with the Organization
PUT /v2/organizations/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/auditors/uaa-id-34
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/66a99a56-c596-4267-a8cd-4cff436c92d3/auditors/uaa-id-34" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1IiwiZW1haWwiOiJlbWFpbC0yNUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIzfQ.nrnTGy3XsBEg2egOrzMMflIxaXtOcvsjOnaTujYJsFY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "66a99a56-c596-4267-a8cd-4cff436c92d3",
"url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3",
"created_at": "2016-04-16T01:23:43Z",
"updated_at": null
},
"entity": {
"name": "name-52",
"billing_enabled": false,
"quota_definition_guid": "a86d9a1d-f264-47e2-a0e6-573bf31fbaf4",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/a86d9a1d-f264-47e2-a0e6-573bf31fbaf4",
"spaces_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/spaces",
"domains_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/domains",
"private_domains_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/private_domains",
"users_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/users",
"managers_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/managers",
"billing_managers_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/billing_managers",
"auditors_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/auditors",
"app_events_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/app_events",
"space_quota_definitions_url": "/v2/organizations/66a99a56-c596-4267-a8cd-4cff436c92d3/space_quota_definitions"
}
}
Headers