Project Branches
Create a contained project branch
Create an expiring branch project from the live project or a snapshot. The branch is materialized in a spare schema slot, receives a derived noindex host, copies auth identities, deploys the parent's live release, sandboxes email by default, and leaves scheduled functions disabled unless requested.
post/projects/v1/{project_id}/branches
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/projects/v1/{project_id}/branches
- Auth: one of:
- API key in header SIGN-IN-WITH-X
- HTTP bearer
Path parameters
project_idstring required
Run402 project ID. Public IDs are not UUIDs.
Example:prj_1741340000_0042
Request body
Response
Branch created.
Example response
{
"branch_project_id": "prj_1741340000_branch",
"parent_project_id": "prj_1741340000_0042",
"next_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.