# Update preview background file **PUT /data/preview-background-files/{instance_id}** Update a preview background file with data provided in the request body. JSON format is expected. Names must be unique. If is_default is set to true, resets other defaults. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters #### Path parameters - **instance_id** (string(uuid)) ## Body parameters Content-type: application/json - **name** (string) - **is_default** (boolean) ## Responses ### 200: Preview background file updated successfully #### Body Parameters: application/json (object) - **id** (string(uuid)) - **name** (string) - **is_default** (boolean) - **created_at** (string(date-time)) - **updated_at** (string(date-time)) ### 400: Invalid data format or name already exists [Powered by Bump.sh](https://bump.sh)