Skip to main content
POST
Create or replace the error-budget policy for an SLO

Authorizations

oiq_token
string
cookie
required

Path Parameters

id
string
required
Required string length: 1 - 128

Query Parameters

tenantId
string

Tenant identifier. Overwritten from the authenticated session; a value naming a different tenant is refused with 403.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9_-]*$

Body

application/json
thresholds
array

Non-empty list of threshold entries.

channelId
string | null

Must reference a channel owned by the same tenant.

Maximum string length: 128
deployGateEnabled
boolean

Response

200

Success