Search Modaic documentation

Find a Modaic guide or API reference

Reference›API›Models

Delete branch

Delete a branch. Repository admin access is required. Commits the branch pointed at remain reachable by SHA and through any tags that name them.

DELETE/v1/models/{workspace}/{model}/branches/{branchName}

Authorization

Authorizationstringrequired

Send a Modaic bearer token in the Authorization header.

Path Parameters

workspacestringrequired

User or organization workspace slug.

modelstringrequired

Model repository slug. The caller needs the route-specific repository access.

branchNamestringrequired

Branch to delete.

Returns 204 with no body.

Was this page helpful?