PUT /mindmaps/{id}

Updates a mindmap by replacing the existing resource with the provided data.

Path parameters

  • id string Required
application/json

Body

  • title string
  • nodes array[object]

    Union type representing any node in the mindmap

    Union type representing any node in the mindmap

    One of:

Responses

  • 204

    No Content

  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • success boolean
    • code integer
    • errorCode string
    • message string
    • timestamp string(date-time)
PUT /mindmaps/{id}
curl \
 --request PUT 'https://api.huy-devops.site/api/mindmaps/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"title":"string","nodes":[{"id":"string","type":"mindmapTextNode","content":"string"}]}'
Request examples
{
  "title": "string",
  "nodes": [
    {
      "id": "string",
      "type": "mindmapTextNode",
      "content": "string"
    }
  ]
}
Response examples (404)
{
  "success": false,
  "code": 42,
  "errorCode": "string",
  "message": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}