Remove Audited Organization from the User
DELETE /v2/users/:guid/audited_organizations/:audited_organization_guid
Request
Route
DELETE /v2/users/uaa-id-364/audited_organizations/e2171dc1-ab7b-48ce-b7b9-97129e35c55d
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-364/audited_organizations/e2171dc1-ab7b-48ce-b7b9-97129e35c55d" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NSIsImVtYWlsIjoiZW1haWwtMjgwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjZ9.TcV3-F4CsSRX6OEgUeoxtZkm6I3uBVNQWLaNzvca-VA" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-364",
"url": "/v2/users/uaa-id-364",
"created_at": "2015-05-15T16:53:46Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "c572feb0-0b32-4cfc-abeb-43ae30279139",
"default_space_url": "/v2/spaces/c572feb0-0b32-4cfc-abeb-43ae30279139",
"spaces_url": "/v2/users/uaa-id-364/spaces",
"organizations_url": "/v2/users/uaa-id-364/organizations",
"managed_organizations_url": "/v2/users/uaa-id-364/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-364/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-364/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-364/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-364/audited_spaces"
}
}
Headers