Media
Update media metadata
Update the folder, alt text, or user metadata on a media item. The underlying file is not replaced: to change the file, upload a new one via https://workers.cosmicjs.com and repoint the referencing Metafields.
patch/buckets/{slug}/media/{media_id}
Request body
Response
The updated media item.
Example response
{
"media": {
"type": "image/png"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.