Associate Auditor with the Organization
PUT /v2/organizations/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/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/cd67701f-3ff8-4002-a19a-37d0bffc0833/auditors/uaa-id-120" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMSIsImVtYWlsIjoiZW1haWwtOTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjYzMzkwMX0.u_UVXiYUZYgjtlMaVUIMXN8IqZSgxtsvTEX9xr7mB6M" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "cd67701f-3ff8-4002-a19a-37d0bffc0833",
"url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833",
"created_at": "2015-03-10T23:11:41Z",
"updated_at": null
},
"entity": {
"name": "name-380",
"billing_enabled": false,
"quota_definition_guid": "aa390a9d-4b24-45c2-a789-2a446bd6d86b",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/aa390a9d-4b24-45c2-a789-2a446bd6d86b",
"spaces_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/spaces",
"domains_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/domains",
"private_domains_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/private_domains",
"users_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/users",
"managers_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/managers",
"billing_managers_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/billing_managers",
"auditors_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/auditors",
"app_events_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/app_events",
"space_quota_definitions_url": "/v2/organizations/cd67701f-3ff8-4002-a19a-37d0bffc0833/space_quota_definitions"
}
}
Headers