---
title: "Update Segment Asset Endpoint"
method: PATCH
path: "/segments/{segment_id}/assets/{asset_id}"
tags: ["segments"]
---

# Update Segment Asset Endpoint

`PATCH /segments/{segment_id}/assets/{asset_id}`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/segments/{segment_id}/assets/{asset_id}`
- Auth: HTTP bearer

Update a segment asset's config, name, or sort_order.

`config` is MERGED at the top level, never replaced: send only the keys
you are changing (e.g. {"description": ...}) — the rest of the config
(source, media_result, placement, …) is untouched. Pass a key as null to
delete it.

## Path parameters

- `segment_id` string, required
- `asset_id` string, required

## Request body

- UpdateSegmentAssetRequest
  - `name` string, nullable
  - `config` object, nullable
  - `sort_order` integer, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/framesail/apis/framesail-api.md) · [All operations](https://skmtc.dev/framesail/apis/framesail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framesail/apis/framesail-api/revisions/12602eae0820?raw)
