PUT /bsus/api/v1/data_retention - Adaptive Applications - BlueCat Gateway - 23.1

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
23.1

Description

Set the current number of days for which BSUS event data is retained.

Parameters

Name Description
payload

(body)

Location: body

Type: application/json

The body of the data retention settings. The JSON body is as follows:
{
  "days": int
}
Parameter
  • days—the number of days to retain event data.

Responses

Status Description
Successful

Code: 200

Global data retention settings updated successfully.

Body:
{
  "days": int
}
Error

Code: 400

Internal server error.

Body:
{
  "error": "error message"
}

If available, additional details are passed in the return parameter error.

{
  "error": "days must be at least 7 "
}
{
  "error": "days must be less than or equal to 3650"
}