Remove Audited Organization from the User
DELETE /v2/users/:guid/audited_organizations/:audited_organization_guid
Request
Route
DELETE /v2/users/uaa-id-325/audited_organizations/88ef8780-587d-411e-bc8c-b96bd92120f0
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-325/audited_organizations/88ef8780-587d-411e-bc8c-b96bd92120f0" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNiIsImVtYWlsIjoiZW1haWwtMjUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4Njd9.gbsv6amK1-kwaGXho1IlmOzoQ5pDAQyS8XouWcHVRbA" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "uaa-id-325",
"url": "/v2/users/uaa-id-325",
"created_at": "2015-03-20T18:27:47Z",
"updated_at": null
},
"entity": {
"admin": false,
"active": false,
"default_space_guid": "5b8010b6-4e70-4a1b-98ed-942be8e04140",
"default_space_url": "/v2/spaces/5b8010b6-4e70-4a1b-98ed-942be8e04140",
"spaces_url": "/v2/users/uaa-id-325/spaces",
"organizations_url": "/v2/users/uaa-id-325/organizations",
"managed_organizations_url": "/v2/users/uaa-id-325/managed_organizations",
"billing_managed_organizations_url": "/v2/users/uaa-id-325/billing_managed_organizations",
"audited_organizations_url": "/v2/users/uaa-id-325/audited_organizations",
"managed_spaces_url": "/v2/users/uaa-id-325/managed_spaces",
"audited_spaces_url": "/v2/users/uaa-id-325/audited_spaces"
}
}
Headers