Approve a pending workflow
POST
/forge/runs/{runId}/approve
const url = 'https://shoehorn.example.com/api/v1/forge/runs/example/approve';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shoehorn.example.com/api/v1/forge/runs/example/approveApproves a workflow that is in awaiting_approval state.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” runId
required
string
Responses
Section titled “ Responses ”Run approved and resumed