Remove Audited Space from the User
DELETE /v2/users/:guid/audited_spaces/:audited_space_guid
Request
Route
DELETE /v2/users/uaa-id-370/audited_spaces/83834212-cd3e-428c-9486-900027fbb876
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-370/audited_spaces/83834212-cd3e-428c-9486-900027fbb876" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MSIsImVtYWlsIjoiZW1haWwtMjgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MjZ9.3fswBEn6QN7F55zf10YimYPpAuFi4zWiB8xx0_o33S0" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-370",
"url": "/v2/users/uaa-id-370",
"created_at": "2015-05-15T16:53:46Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "9bb35575-c2f7-4a40-9f68-9d9056b6ed0f",
"default_space_url": "/v2/spaces/9bb35575-c2f7-4a40-9f68-9d9056b6ed0f",
"spaces_url": "/v2/users/uaa-id-370/spaces",
"organizations_url": "/v2/users/uaa-id-370/organizations",
"managed_organizations_url": "/v2/users/uaa-id-370/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-370/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-370/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-370/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-370/audited_spaces"
}
}
Headers