Restore a scheduled branch deletion
post
/v1/branches/{branch_id_or_ref}/restoreCancels scheduled deletion and restores the branch to active state
OAuth scopes
- environment:write
The fine-grained token must include the following permissions to access this endpoint:
- branching_development_write
- or
- branching_production_write
Path parameters
- branch_id_or_refRequiredany of the following options
Branch ref or deprecated branch ID
Response codes
- 200
- 500
Response (200)
1{2 "message": "Branch restoration initiated"3}