Skip to main content
POST
Approve a pipeline definition

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The pipeline definition.

Response

The approval as recorded, with the runs it re-ran.

A pipeline definition's approval state.

definition_id
string<uuid>
required
protected_hash
string
required

Identity of the definition's protected sections.

approved_hash
string
required

protected_hash once an administrator approved it, otherwise empty.

approved_at
string<date-time> | null
required
approved_by
string
required

Ankra user id of the approver, empty when unapproved.

reran_runs
string[]
required

Runs the approval re-ran because they were held for it; empty on a read.