Skip to main content
POST
Fully Update Gates

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

id
string
required

id

Body

application/json
isEnabled
boolean
required
description
string
required
Maximum string length: 1000
rules
object[]
required
tags
string[]
type
enum<string>
Available options:
PERMANENT,
TEMPORARY
idType
string
targetApps
creatorID
string | null
creatorEmail
string | null
team
string | null
teamID
string | null
measureMetricLifts
boolean
monitoringMetrics
object[]
reviewSettings
object

Whether reviews are required for this gate. If a gate has reviews required due to a project-level or team-level setting, setting this will have no effect.

precommitWebhook
object | null

Response

200 - application/json

Update gate response

message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.