approvals

Change a policy. Only what you send changes; asks already waiting keep the approvers and quorum they were held with.

Organization admins only (403 organization_admin_required), on a browser session with a fresh proof in the x-50h-reauth header (401 reauth_required). It needs a person: API keys, connected apps and service accounts get 403 session_required. Every change is written to the organization's audit.

patch/v1/approvals/policies/{id}

Request

  • Base URL: https://api.50heads.com
  • URL: https://api.50heads.com/v1/approvals/policies/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The policy id.

Request body

enabledboolean
alwaysboolean
perAskPenceinteger nullable
perDayPenceinteger nullable
perMonthPenceinteger nullable
requireForTiersinteger[]
requireForImagesboolean
expiresInMinutesinteger
allowSelfApprovalUnderPenceinteger nullable
notifystring[]

Response

OK

Changes

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