Skip to main content
PUT
Update Image Metadata

Authorizations

Authorization
string
header
required

API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → Developers → API Keys.

Path Parameters

projectId
string
required

Project ID (MongoDB ObjectId)

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json

At least one of description or tags must be provided alongside imageUrl.

imageUrl
string<uri>
required

URL of the image to update

description
string
required

Updated description

Maximum string length: 1000
tags
string[]

Updated tags

Maximum array length: 10
Maximum string length: 50

Response

Image metadata updated

success
boolean
required
data
object
error
string | null