# Cast one asset in several entities **PUT /data/projects/{project_id}/entities/casting/assets/{asset_id}** Set how given asset is cast in each given entity (shots, assets or episodes of the project). Unlike the full casting update, the other assets of each entity are left untouched, so concurrent editors cannot erase each other's work. A nb_occurences of 0 removes the asset from the casting. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **project_id** () Unique identifier of the project - **asset_id** () Unique identifier of the asset to cast ### Body: application/json (object) - **entity_ids** (array[string(uuid)]) Entities to cast the asset in - **nb_occurences** (integer) Number of occurences, 0 removes the asset from the casting, omit to keep the current one (1 on a new link) - **label** (string) Casting label, omit to keep the current one ## Responses ### 200 Map of entity ids to their updated casting #### Body: application/json (object) object ### 400 Empty selection or negative number of occurences ### 403 Not a manager of the project ### 404 Unknown asset or entity [Powered by Bump.sh](https://bump.sh)