Skip to main content
PUT
Replace a pull request's force overrides

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer <key>. An organization admin creates one in the Trunk app under Settings → Developer → API Keys and chooses the permissions it holds. A key with none can read merge queues but change nothing in them. Permissions cover merge queues and test-result uploads, including the quarantine lookups a CI run makes before it uploads; any key can call the other Flaky Tests and Dynamic CI endpoints, including their writes.

Body

application/json
repo
object
required
prNumber
integer
required
Example:

4213

headSha
string
required

The pull request's head commit, recorded with each force as evidence of what it was saved against.

Minimum string length: 1
Example:

"9f2c1b7c2b4c9d1e0a3f5b6c7d8e9f0a1b2c3d4e"

overrides
object[]
required

The complete desired set. An empty array clears every force on the pull request.

Maximum array length: 1000

Response

The forces were replaced