API referencesettings
PUT /policies
PUT /policies: OrkStage Control API v1 endpoint reference.
PUT
header
AuthorizationBearer <ork_<env>_<id>_<secret>>Organization API key (scoped). Sessions use the cookie instead.
x-orkstage-csrf?unknownCookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.
application/json- body
allowedRegions?array<>Items
items <= 100maxMonthlyCostUsd?numberRange
0 < value <= 10000000maxReplicas?integerRange
1 <= value <= 1000machineSizes?array<>Items
items <= 50approvedRegistries?array<>Items
items <= 50requiredLabels?array<>Items
items <= 20minTlsVersion?stringValue in
"1.2""1.3"minLogRetentionDays?integerRange
1 <= value <= 3653disabled?array<>Items
items <= 30curl -X PUT 'http://localhost:4000/api/v1/policies' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
Empty