Remove Audited Organization from the User
DELETE /v2/users/:guid/audited_organizations/:audited_organization_guid
Request
Route
DELETE /v2/users/uaa-id-168/audited_organizations/f5dea368-b113-47bd-bc49-935e751c8e63
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-168/audited_organizations/f5dea368-b113-47bd-bc49-935e751c8e63" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2OSIsImVtYWlsIjoiZW1haWwtMTQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTJ9.1M4nlH5bjN12a4J6dbUzNijyB-kX8KgEXt_anibcw_U" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-168",
"url": "/v2/users/uaa-id-168",
"created_at": "2015-06-16T23:40:52Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "4756eeeb-315b-4d0c-b295-00c5d24bb81a",
"default_space_url": "/v2/spaces/4756eeeb-315b-4d0c-b295-00c5d24bb81a",
"spaces_url": "/v2/users/uaa-id-168/spaces",
"organizations_url": "/v2/users/uaa-id-168/organizations",
"managed_organizations_url": "/v2/users/uaa-id-168/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-168/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-168/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-168/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-168/audited_spaces"
}
}
Headers