Skip to main content
PUT
Update Policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Body

application/json
enabled
boolean
required
schedule
enum<string>
required
Available options:
hourly,
daily,
weekly
categories
enum<string>[]
required
Required array length: 1 element
Available options:
reliability
environments
string[]
required
Required array length: 1 - 25 elements
Required string length: 1 - 39
autoRemediation
object
required
expectedVersion
integer | null
required
Required range: x >= 1

Response

Updated maintenance policy.

enabled
boolean
required
schedule
enum<string>
required
Available options:
hourly,
daily,
weekly
categories
enum<string>[]
required
Required array length: 1 element
Available options:
reliability
environments
string[]
required
Required array length: 1 - 25 elements
Required string length: 1 - 39
autoRemediation
object
required
version
integer
required
Required range: x >= 1
updatedBy
string
required
Required string length: 1 - 160
createdAt
string<date-time>
required
updatedAt
string<date-time>
required