This page was automatically generated from tracezilla’s Swagger API documentation 2026-07-17

PUT /files/{fileId}/favorite/{modelName}/{entityId}/{status}

Toggle favorite status for a file

Description

Toggles the favorite status of a file for the current user’s team

Parameters (path)

Name Required Description Values
fileId required Target file ID  
modelName required Name of the attached model  
entityId required ID of the attached entity  
status required Favorite status to set (on/off) on, off

Responses

200

Favorite status successfully toggled

403

Unauthorized request

404

File not found

500

Internal server error