changeApprovalStageApprover Mutation
Adds or replaces a user, team, placeholder, or external approver at a numbered position in an approval stage. An existing approver at that zero-based index is replaced; an index beyond the current list appends an approver.
Arguments
#
stageId
ID !
Non-null
ID of the approval stage to modify. Use the stage._id field from approvalStages query, not the sortIndex.
type
Non-null
Type of approver being added (user, team, placeholder, external, or agent for Buzz)
index
Int !
Non-null
Position in the approvals array where to add/replace the approver (0 for first position, 1 for second, etc)
approvalItemId
ID !
Non-null
ID of the approver to assign (user ID, team ID, placeholder ID, or external user ID)
Response
#
Returns ApprovalStage .
Example
#
Previous
categorizeBankTransaction