v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
Environments

Resets a database branch

Resets the specified database branch

post/v1/branches/{branch_id_or_ref}/reset

Path parameters

string required

Project ref

OR
string uuid required
Example:abcdefghijklmnopqrst

Branch ref or deprecated branch ID

Request body

migration_versionstring

Example request

{
  "migration_version": "20250312000000"
}

Response

workflow_run_idstring required
message'ok' required