Update Mermaid Diagram

Replaces the markup of an existing Mermaid diagram in a document.

Valid Authentication Methods

API Key Grants:

  • DocumentEdit

OAuth 2.0 User Token Scopes:

  • lucidchart.document.content
  • lucidspark.document.content
  • lucid.document.content
Path Params
uuid
required

ID of the document containing the Mermaid diagram.

string
required

ID of the Mermaid diagram to update.

Body Params
string
required
length ≤ 100000

Mermaid markup that replaces the diagram's existing markup.

Responses

400

Bad Request if the request body is invalid or the markup exceeds 100,000 characters.

403

Forbidden if the app making the request does not have write permission to the document, or if the document does not exist.

404

Not Found if the Mermaid diagram does not exist.

409

Conflict if the Mermaid diagram cannot be updated because of a conflicting document change.

429

Too Many Requests if the request exceeds 60 requests per minute.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json