Skip to main content
PATCH
Update an asset

Authorizations

Authorization
string
header
required

A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.

Path Parameters

projectId
string
required

The project's ID

assetId
string
required

The asset's ID

Body

application/json
name
string
Required string length: 1 - 200
favorite
boolean

The organization's shared favorite

Response

What the request changed.

id
string
required
projectId
string
required
name
string

Present when the request renamed the asset

favorite
boolean

Present when the request set the favorite