post https://console.neon.tech/api/v2/projects//branches//finalize_restore
Finalize the restore operation for a branch created from a snapshot.
This operation updates the branch so it functions as the original branch it replaced.
This includes:
- Reassigning any computes from the original branch to the restored branch (this will restart the computes)
- Renaming the restored branch to the original branch’s name
- Renaming the original branch so it no longer uses the original name
This operation only applies to branches created using the restoreSnapshot
endpoint with finalize_restore: false
.