approvals

Put Approval Policy

Replace the policy. ?dry_run=true only reports which standing approvals the new policy would end (would_revoke / affected) and writes nothing.

put/api/v1/teams/{team_id}/approval-policy

Request

  • Base URL: https://api.badgeia.com
  • URL: https://api.badgeia.com/api/v1/teams/{team_id}/approval-policy
  • Auth: none declared

Path parameters

team_idstring uuid required

Query parameters

dry_runboolean

Request body

required_suite_idsstring[]
min_scorenumber nullable
max_measured_cost_per_runnumber nullable
require_sbomboolean
approver_rolesstring[]
min_approversinteger
expiry_daysinteger nullable

Response

Successful Response

OR

Changes

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