Skip to main content
PUT
/
comments
/
{id}
/
due-date
Update comment due date
curl --request PUT \
  --url https://api.surefeedback.com/api/v1/comments/{id}/due-date \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "due_date": "<string>"
}
'
{
  "success": true,
  "message": "Due date updated successfully",
  "data": {
    "id": "990e8400-e29b-41d4-a716-446655440004",
    "due_date": "2026-04-15T00:00:00Z"
  }
}
Sets or clears the due date for an existing comment.

Path parameters

id
string
required
UUID of the comment.

Request body

due_date
string
Due date in a valid date format. Send null to clear the due date.
{
  "success": true,
  "message": "Due date updated successfully",
  "data": {
    "id": "990e8400-e29b-41d4-a716-446655440004",
    "due_date": "2026-04-15T00:00:00Z"
  }
}