POST
/
rpc
/
Collections
/
UpdateAsset
curl --request POST \
  --url https://metadata.sequence.app/rpc/Collections/UpdateAsset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": 30957,
  "asset": {
    "id": 4416,
    "collectionId": 894,
    "tokenId": "4",
    "metadataField": "image",
    "filename": "My asset"
  }
}'
{
  "asset": {
    "id": 4416,
    "collectionId": 894,
    "tokenId": "4",
    "url": "",
    "metadataField": "image",
    "filename": "New Image",
    "updatedAt": "2024-10-25T01:22:44.045492Z"
  }
}

Authorizations

Authorization
string
header
required

Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.

Body

application/json
projectId
number
asset
object

Response

200
application/json
OK
asset
object