> For the complete documentation index, see [llms.txt](https://api-docs.kitsu.cloud/llms.txt)

# Set the in/out handles of a preview

> PUT /actions/preview-files/{preview_file_id}/update-trim
> 
> Set the in/out frames of a preview. The extra previews of a revision have their own timeline and keep their own trim, the main preview uses the handle_in and handle_out of the shot data. Only the sent keys change, null clears a handle. Managers and supervisors without departments can use this route, like for the trim of a shot.



## Servers
- /api: /api


## Authentication methods
- Jwt authorization


## Parameters

### Path parameters

- **preview_file_id** (string(uuid))
  Unique identifier of the preview file



### Body: application/json (object)

- **handle_in** (integer | null)
  First frame of the trim, null to clear it

- **handle_out** (integer | null)
  Last frame of the trim, null to clear it



## Responses
### 200
The trim of the preview

#### Body: application/json (object)
- **id** (string(uuid))
  Preview file unique identifier

- **handle_in** (integer | null)

- **handle_out** (integer | null)


### 400
A handle is negative or is not an integer

### 403
You cannot edit the trim of this shot

### 404
The preview file does not exist


[Powered by Bump.sh](https://bump.sh)
