Edit a card's title or description
Changes the card's title, description or both; a field left out
is not changed, and at least one must be sent. Every edit raises the
card's version by one. Send the version you last read to refuse
the edit if someone changed the card since (409
EDIT_CONFLICT); leave it out to apply the edit regardless.
Requires the board:card:write scope.
Authorization
Parameters
Path parameters
cardIDstring requiredThe card's ID.
Request body required
titlestringdescriptionstringversionintegerThe version this edit was made against.
Responses
200
The card after the edit.
dataobjectcardCardShow Card properties
idstringboard_idstringlist_idstringnumberintegerThe card's number on its board, from 1. With the board'scard_prefixit is the card's reference.titlestringdescriptionstringcolorstringA hex colour, or""for none.due_atstring (date-time)Absent when the card has no due date.reviewReviewShow Review properties
statestringapproved_bystringapproved_atstring (date-time)
completed_atstring (date-time)When the card entered a done list. Absent while it is not in one.created_bystringcreated_atstring (date-time)updated_atstring (date-time)versionintegerGoes up by one on every edit of the title or description.assignee_idsarray of string | nullWho the card is on. Filled in when a board or list is read;nullwhen one card is read on its own.label_idsarray of string | nullThe labels the card carries. Filled in when a board or list is read;nullwhen one card is read on its own.
400
The body is not JSON for this endpoint (INVALID_BODY), or
(VALIDATION_ERROR) neither field was sent, the title is blank or
over 200 characters, or the description is over 20,000.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
It does not exist, or it is on a board the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
409
The card changed since version (EDIT_CONFLICT). Read it again and reapply the edit.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X PATCH 'https://evohub.io/api/v1/board/cards/crd_9f2e4d6c8b0a1e3f5d7c9b1a3e5f7d90' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"version": 3,
"description": "Rotate before the old ones expire on the 30th. Staging first."
}'
