Skip to main content
PUT
/
mockup-comments
/
{id}
Update mockup comment
curl --request PUT \
  --url https://api.surefeedback.com/api/v1/mockup-comments/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "content": "<string>",
  "description": "<string>",
  "status": "<string>",
  "priority": "<string>",
  "mentions": [
    {}
  ]
}
'
{
  "success": true,
  "message": "Comment updated successfully",
  "data": {
    "id": "220e8400-e29b-41d4-a716-44665544000c",
    "content": "Updated: Use the darker green from the design system.",
    "status": "IN_PROGRESS",
    "priority": "HIGH"
  }
}
Updates a mockup comment. The current implementation only allows the comment author to edit the comment.

Path parameters

id
string
required
UUID of the mockup comment.

Request body

content
string
Updated comment text.
description
string
Optional extended description.
status
string
Updated status: OPEN, IN_PROGRESS, or RESOLVED.
priority
string
Updated priority: LOW, MEDIUM, or HIGH.
mentions
array
Array of mentioned user IDs.
{
  "success": true,
  "message": "Comment updated successfully",
  "data": {
    "id": "220e8400-e29b-41d4-a716-44665544000c",
    "content": "Updated: Use the darker green from the design system.",
    "status": "IN_PROGRESS",
    "priority": "HIGH"
  }
}