Skip to main content
PUT
Update Knowledge Base Entry

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}$
entryId
string
required

Knowledge base entry ID

Body

application/json
sourceFileName
string

Original upload filename, including .html, .eml, or .mjml. An empty string clears a previous filename on update.

Maximum string length: 255
title
string

Updated title

Required string length: 1 - 100
content
string

Updated content, up to 512000 UTF-8 bytes. New email-source conversions must fit 250000 UTF-8 bytes after cleanup. Submit unchanged content to retry a failed reference; omit it for a title-only edit.

Required string length: 1 - 512000

Response

Knowledge base entry updated

success
boolean
required
data
object
error
string | null