Remove Audited Space from the User
DELETE /v2/users/:guid/audited_spaces/:audited_space_guid
Request
Route
DELETE /v2/users/uaa-id-156/audited_spaces/9bfa8210-7a23-4c30-abb8-5fda6a7872be
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-156/audited_spaces/9bfa8210-7a23-4c30-abb8-5fda6a7872be" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtMTE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDJ9.BT-hjNi2SaWfRawZSSu0cySzAbJg34qKD6db0L_ovmk" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-156",
"url": "/v2/users/uaa-id-156",
"created_at": "2015-03-10T23:11:42Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "ee72df14-99b2-4408-9be8-636e524779ae",
"default_space_url": "/v2/spaces/ee72df14-99b2-4408-9be8-636e524779ae",
"spaces_url": "/v2/users/uaa-id-156/spaces",
"organizations_url": "/v2/users/uaa-id-156/organizations",
"managed_organizations_url": "/v2/users/uaa-id-156/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-156/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-156/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-156/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-156/audited_spaces"
}
}
Headers