Remove Audited Space from the User
DELETE /v2/users/:guid/audited_spaces/:audited_space_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
Request
Headers
Route
DELETE /v2/users/uaa-id-165/audited_spaces/8f89b39d-55b7-4645-a3f5-10ead3b25e7f
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-165/audited_spaces/8f89b39d-55b7-4645-a3f5-10ead3b25e7f" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NiIsImVtYWlsIjoiZW1haWwtMTIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4NzN9.0R_df_Gd095biF94aiZkRsLXZfZrD_uWEXZA84sILJs" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-165",
"url": "/v2/users/uaa-id-165",
"created_at": "2015-01-27T19:14:33Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "ccca0e17-c136-4fcc-88a9-24216500781b",
"default_space_url": "/v2/spaces/ccca0e17-c136-4fcc-88a9-24216500781b",
"spaces_url": "/v2/users/uaa-id-165/spaces",
"organizations_url": "/v2/users/uaa-id-165/organizations",
"managed_organizations_url": "/v2/users/uaa-id-165/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-165/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-165/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-165/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-165/audited_spaces"
}
}