Skip to main content
PUT
/
v1
/
projects
/
{projectId}
/
logos
Update Logos
curl --request PUT \
  --url https://api.migma.ai/v1/projects/{projectId}/logos \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "primary": "<string>",
  "secondary": "<string>",
  "favicon": "<string>"
}
'
{
  "status": "success",
  "data": {
    "logoUrls": {
      "primary": "<string>",
      "secondary": "<string>",
      "favicon": "<string>"
    }
  },
  "message": "<string>"
}

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 → API Integration.

Path Parameters

projectId
string
required

Project ID (MongoDB ObjectId)

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

Body

application/json
primary
string<uri> | null

Primary logo URL (set to null to remove)

secondary
string<uri> | null

Secondary logo URL (set to null to remove)

favicon
string<uri> | null

Favicon URL (set to null to remove)

Response

Logos updated

status
enum<string>
Available options:
success
data
object
message
string