Remove Audited Space from the User
DELETE /v2/users/:guid/audited_spaces/:audited_space_guid
Request
Route
DELETE /v2/users/uaa-id-234/audited_spaces/cf943ad4-8db7-4579-b765-2c977ff0b9f8
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
audited_space_guid
|
The guid of the audited space
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-234/audited_spaces/cf943ad4-8db7-4579-b765-2c977ff0b9f8" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNSIsImVtYWlsIjoiZW1haWwtMTYyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5MzZ9.KHnkG3_wyjwF4xK5wbQPRXbMmiINci9LbMmNVAOeHnc" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-234",
"url": "/v2/users/uaa-id-234",
"created_at": "2015-10-07T00:35:36Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "6afae802-2f1b-4af3-a588-9349b3e35df8",
"default_space_url": "/v2/spaces/6afae802-2f1b-4af3-a588-9349b3e35df8",
"spaces_url": "/v2/users/uaa-id-234/spaces",
"organizations_url": "/v2/users/uaa-id-234/organizations",
"managed_organizations_url": "/v2/users/uaa-id-234/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-234/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-234/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-234/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-234/audited_spaces"
}
}
Headers