Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 
Bob_Zimmerman
Authority
Authority

The "scheduling.check-interval" syntax is a workaround for mgmt_cli. For a proper API call, 'scheduling' needs to contain an object, like this:

{
	"enabled":"true",
	"keep-sessions-by-days":"true",
	"number-of-sessions-to-keep":"30",
	"scheduling":{
		"check-interval":"30",
		"time-units":"days",
		"start-date":"2022-09-05T16:46:00"
	},
	"number-of-days-to-keep":"14",
	"keep-sessions-by-count":"false"
}

or as a single line:

{"enabled":"true","keep-sessions-by-days":"true","number-of-sessions-to-keep":"30","scheduling":{"check-interval":"30","time-units":"days","start-date":"2022-09-05T16:46:00"},"number-of-days-to-keep":"14","keep-sessions-by-count":"false"}

View solution in original post

0 Kudos
(1)
Who rated this post