Skip to content
Management API Reference

Restore a scheduled branch deletion

post/v1/branches/{branch_id_or_ref}/restore

Cancels scheduled deletion and restores the branch to active state

OAuth scopes

  • environment:write

Path parameters

  • branch_id_or_ref
    Required
    one of the following options

    Branch ref or deprecated branch ID

Response codes

  • 200
  • 500

Response (200)

1
{
2
"message": "Branch restoration initiated"
3
}