Board

Set the approval policy

The default mode (people only) and per-project modes for the conversations that work on the board. ask: every permission request comes to you. routine: tests, builds, reads and installs are approved for you. trusted: everything except deploys, pushes to main and spending.

put/v1/approval-policy

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/approval-policy
  • Auth: HTTP bearer

Request body

default'ask' | 'routine' | 'trusted'
projectsobject

Per-project modes; null goes back to the default.

organization_idstring uuid

UUIDv7, lowercase canonical form.

Response

ask: every permission request comes to Needs you. routine: tests, builds, reads and installs are approved without you. trusted: everything except deploys, pushes to main and spending.

default'ask' | 'routine' | 'trusted' required
projectsobject required

Per-project overrides of the default, by project id.

Changes

No recorded changes to this operation across all 1 revision of this API.