Action Runs

Approve an action run

This route allows you to approve or decline a request to execute an action that requires approval.<br/><br/>To learn more about manual approval for actions, check out the documentation.

patch/v1/actions/runs/{run_id}/approval

Request

  • Base URL: https://api.port.io
  • URL: https://api.port.io/v1/actions/runs/{run_id}/approval
  • Auth: API key in header Authorization

Path parameters

run_idstring required

The identifier of the action run.

Query parameters

version'v1' | 'v2'

Specifies the API version to use. Please use v2 for the latest version of the API.

Request body

status'DECLINE' | 'APPROVE' required
descriptionstring

A description and/or reason for the given status.

Response

OK

okunknown required

Changes

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