Remove Audited Space from the User
DELETE /v2/users/:guid/audited_spaces/:audited_space_guid
Request
Route
DELETE /v2/users/uaa-id-395/audited_spaces/21c749ae-57a5-4446-931a-5ce1fb6d4d04
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-395/audited_spaces/21c749ae-57a5-4446-931a-5ce1fb6d4d04" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NiIsImVtYWlsIjoiZW1haWwtMjk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDh9.PtCYwF3uzQIRiqrO5ibjc1lCUVb3a_LHTRK2xuTAr1U" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-395",
"url": "/v2/users/uaa-id-395",
"created_at": "2015-05-07T23:37:28Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "e59e60d1-30f9-4b5d-b7c8-399752dc076d",
"default_space_url": "/v2/spaces/e59e60d1-30f9-4b5d-b7c8-399752dc076d",
"spaces_url": "/v2/users/uaa-id-395/spaces",
"organizations_url": "/v2/users/uaa-id-395/organizations",
"managed_organizations_url": "/v2/users/uaa-id-395/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-395/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-395/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-395/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-395/audited_spaces"
}
}
Headers