Rename model
Connection Admin permissions are required to rename a shared model or shared extension model. Modeler permissions and higher are required to rename a branch model.
Rename a model. This endpoint allows you to programmatically rename models without using the UI, which is particularly useful for bulk operations on shared extension models created via POST /api/v1/models.
The new name must be unique among active models with the same modelKind and baseModelId.
Branch-specific constraints:
- Name must match git-compatible regex:
[\w\-/]+ - No git ref path conflicts (e.g., cannot rename to
teamifteam/projectexists) - Cannot rename branches with an open pull request (when
pullRequestUrlis set) — renaming would desync Omni from the git remote
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Response
Model renamed successfully
ID of the branch as a whole, shared by every model layer that is a member of it. Only set when modelKind is BRANCH; null otherwise. Use this ID with the Branches API.

