Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Headers

customer
string
required

Workspace identifier

Path Parameters

projectId
string
required

Project UUID, not a slug. Resolve a slug with GET /project/slug/{slug} using the same workspace and credentials, then pass the returned id.

id
string
required

Body

application/json
entity_id
string
required
Maximum string length: 255
seq_id
string
required

Sequence id of one of the item's history entries on this branch. The item is reverted to its state right after that change. 0 reverts it to before it existed.

change_from_seq_id
string

Revert only the change between this sequence id (exclusive) and seq_id, keeping later edits to anything that change did not touch. Omit to revert the item to its state at seq_id.

in_place
boolean

Write the revert straight onto this branch instead of proposing a new branch to review.

Response

200 - application/json
branch_id
string
required

The branch now carrying the revert: the new branch, or this branch's id ('master' for Base) when reverted in place.

created
boolean
required

True when a new branch was created.