Removing Audit Items
You can remove audit items, that is, remove items from a list of users and groups for which Veeam Backup for Microsoft Office 365 sends audit notifications.
Request
POST https://<hostname>:4443/v5/Organizations/{organizationId}/AuditItems/action |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameter must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
organizationId | string | Specifies the identification number of the Office 365 organization. For more information on how to get this parameter, see Getting Organizations. |
Request Body
To remove audit items, the request body must contain the remove action property:
Property | Type | Description |
---|---|---|
itemIds | string | Specifies the identification numbers of audit items that you want to remove. |
For example:
Request Body: { "remove": { "itemIds": ["a581ee43-e944-4976-8bf1-2f7479ab918efac93c3f-9f27-426a-97e6-c607c4610e7200000000-0000-0000-0000-000000000000", "b810ee43-e944-4976-8bf1-2f7479ab918efac93c3f-9f27-426a-97e6-c607c4610e7200000000-0000-0000-0000-000000000000", "c273ee43-e944-4976-8bf1-2f7479ab918efac93c3f-9f27-426a-97e6-c607c4610e7200000000-0000-0000-0000-000000000000"] } } |
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
None.
Examples
Example 1
The example shows how to remove an audit item with the ID a581ee43-e944-4976-8bf1-2f7479ab918efac93c3f-9f27-426a-97e6-c607c4610e7200000000-0000-0000-0000-000000000000.
Request: POST https://abc.tech.local:4443/v5/Organizations/967093a9-cf39-43e5-84cb-646ccd4993df/AuditItems/action
Request Header: Authorization: Bearer <Access-Token>
Request Body: { "remove": { "itemIds": ["a581ee43-e944-4976-8bf1-2f7479ab918efac93c3f-9f27-426a-97e6-c607c4610e7200000000-0000-0000-0000-000000000000"] } }
Response: 200 OK |