PATCH
/
api
/
v1
/
assets
/
{public_id}
Update Asset
curl --request PATCH \
  --url https://api.example.com/api/v1/assets/{public_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "project_id": "<string>"
}
'
{}

Path Parameters

public_id
string
required

Body

application/json

Partial update. Only fields actually sent are applied (we inspect model_fields_set), so project_id: null explicitly moves to uncategorised while an omitted project_id leaves the folder unchanged.

name
string | null
project_id
string | null

Response

Successful Response

The response is of type Response Update Asset Api V1 Assets Public Id Patch · object.