Skip to content
Management API Reference

Pushes a database branch

post/v1/branches/{branch_id_or_ref}/push

Pushes the specified database branch

OAuth scopes

  • environment:write

Path parameters

  • branch_id_or_ref
    Required
    one of the following options

    Branch ref or deprecated branch ID

Body

  • migration_version
    Optional
    string

Response codes

  • 201
  • 500

Response (201)

1
{
2
"workflow_run_id": "lorem",
3
"message": "ok"
4
}