drive.approvals.reassign
Reassign reviewers on a Drive approval by adding or replacing reviewer emails while the approval is in progress and the current reviewer has not responded.
Instructions
Reassigns the reviewers on an approval. For more information, see Manage approvals. Adds or replaces reviewers in the ReviewerResponse of the approval. This can be called by any user with the writer permission on the file while the approval Status is IN_PROGRESS and the Response for the reviewer being reassigned is NO_RESPONSE. A user with the reader permission can only reassign an approval that's assigned to themselves. Removing a reviewer isn't allowed [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON ReassignApprovalRequest object accepting addReviewers, message, replaceReviewers; pass it via params or whole via body_file Siblings over the same resource: approve, cancel, comment, decline, get, list, start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| fileId | Yes | [URL path segment] Required. The ID of the file that the approval is on. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON ReassignApprovalRequest object. | |
| approvalId | Yes | [URL path segment] Required. The ID of the approval to reassign. | |
| request_body | No | Request body of type ReassignApprovalRequest: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| status | No | ||
| dueTime | No | ||
| initiator | No | ||
| approvalId | No | ||
| createTime | No | ||
| modifyTime | No | ||
| completeTime | No | ||
| targetFileId | No | ||
| reviewerResponses | No | ||
| fileContentChangeBehavior | No |