Flags experimentsApiOperations
Enable a gate
Sets enabled: true. The current rollout_pct is preserved.
Use case
Re-enable a previously disabled gate without re-issuing a full update.
Authorization
bearerSdkKey AuthorizationBearer <token>
Pass an admin SDK key as Authorization: Bearer sdk_admin_…. Mint via POST /api/admin/keys with type: "admin".
In: header
Path Parameters
id*string
Stable opaque gate id.
Header Parameters
X-Project-Id*string
Project the request operates on. Must match the project the SDK key belongs to.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://shipeasy.ai/api/admin/gates/string/enable" \ -H "X-Project-Id: string"{
"id": "gat_01j7w7m9q4hxbf6npe6s9zr3vc",
"enabled": true
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}