Editing Backup Job Retention Settings
This section explains how to edit retention settings of a backup job.
The request header must contain an authorization token of the current session.
To edit job session retention settings, you need to enter in the request body the corresponding properties with new values.
The following table lists available request parameters.
If set to True, indicates that Veeam Backup for Microsoft Office 365 will keep job sessions forever. Otherwise, the job sessions will be kept according to the default retention period (53 weeks).
Specifies the retention period for job sessions in weeks.
To set the retention period for job sessions in weeks, perform the following steps:
- Set the KeepAllsessions property to "false" value.
- Set the number of weeks for the KeeponlyLast property.
The server returns the following response to the client.
A successfully completed operation returns a response code 200 (OK).
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
The length of the response body.
The media type and syntax of the response body message: application/json; charset=utf-8
The example below shows how to update the job session retention settings.
Authorization: Bearer <Access-Token>