Update a diagram
Updates the code of an existing diagram in a file.
put/api/files/{fileId}/diagrams/{diagramId}
Path parameters
fileIdstring required
ID of the file containing the diagram
diagramIdstring required
ID of the diagram to update
Request body
Response
The updated diagram
Example response
{
"diagramUrl": "https://app.eraser.io/workspace/abc123?diagram=def456&layout=canvas"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.