PATCH /mindmaps/{id}/title

Updates the title or description of an existing mindmap by ID. Either title or description must be provided.

Path parameters

  • id string Required
application/json

Body

  • title string | null

    The new title for the mindmap

    Minimum length is 1, maximum length is 200.

  • description string | null

    The new description for the mindmap

    Minimum length is 1, maximum length is 500.

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)
PATCH /mindmaps/{id}/title
curl \
 --request PATCH 'http://localhost:8080/api/mindmaps/{id}/title' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"title":"Updated Mindmap Title","description":"This is an updated description for my mindmap."}'
Request examples
{
  "title": "Updated Mindmap Title",
  "description": "This is an updated description for my mindmap."
}
Response examples (404)
{
  "success": false,
  "code": 42,
  "errorCode": "string",
  "message": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}