Delete a YAML file
Deletes a topic or view YAML file from a model. The file must be a YAML file ending in .topic or .view.
The following models cannot be edited using this endpoint:
- Schema models
- Models using git follower mode
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
The ID of the model.
Query Parameters
The name of the YAML file to delete. Valid values are:
<topic_name>.topic- Topic file<view_name>.view- View file
Required if git pull requests are required for the model. The ID of the branch to delete from. To retrieve branch IDs, use the List models endpoint with modelKind=BRANCH.
The mode to use when deleting the YAML file.
Note: Workbook models must use combined mode if there is a branchId.
combined, extension, staged, merged, history Required for git-enabled models. Commit message describing the change.