Associate Audited Organization with the User
PUT /v2/users/:guid/audited_organizations/:audited_organization_guid
Request
Route
PUT /v2/users/uaa-id-170/audited_organizations/a6499997-fdd9-450b-b501-15c8ef20da7e
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-170/audited_organizations/a6499997-fdd9-450b-b501-15c8ef20da7e" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MSIsImVtYWlsIjoiZW1haWwtMTQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTJ9.H1oacnJLjDwml3hcKf128GXAB1eTqJ-y5jqWYuod53s" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-170",
"url": "/v2/users/uaa-id-170",
"created_at": "2015-06-16T23:40:52Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "012334a6-94bd-48e2-9c28-37618883b006",
"default_space_url": "/v2/spaces/012334a6-94bd-48e2-9c28-37618883b006",
"spaces_url": "/v2/users/uaa-id-170/spaces",
"organizations_url": "/v2/users/uaa-id-170/organizations",
"managed_organizations_url": "/v2/users/uaa-id-170/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-170/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-170/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-170/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-170/audited_spaces"
}
}
Headers