Productive icon

Productive

Interact with the Productive API

Actions508

Approval Policies → Updates the approval policy

AI-generated

Summary

Update an existing approval policy by specifying its name, description, type ID, and flags indicating whether it is custom and/or the organization's default generic policy.

Inputs

  • Name — Name of the approval policy.
  • Description — Description of the approval policy.
  • Type ID (required) — Type of the approval policy (numeric, e.g., 1 for event). This is required.
  • Custom — Boolean flag indicating if the approval policy is custom (true) or generic (false).
  • Default — Boolean flag indicating if the generic approval policy is the organization's default.

Output shape

a list with updated approval policy records or relevant API response objects

The output reflects the API response after updating the approval policy. Errors are returned in error envelopes if 'continue on fail' is set.

Discussion