Skip to main content
PATCH
/
v1
/
media
/
{id}
Update media asset
curl --request PATCH \
  --url https://api.usenaive.ai/v1/media/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Body

application/json
title
string
description
string
tags
string[]

Response

Updated.

The response is of type object.