Label a card
PUT/api/v1/board/cards/{cardID}/labels/{labelID}
Puts one of the board's labels on the card. Adding a label the card already carries changes nothing.
Requires the board:card:write scope.
Authorization
Parameters
Path parameters
cardIDstring requiredThe card's ID.labelIDstring requiredThe label's ID.
Responses
204
The card carries the label.
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
The card is not one the caller can see, or the label is not on its board (NOT_FOUND).
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 PUT 'https://evohub.io/api/v1/board/cards/crd_9f2e4d6c8b0a1e3f5d7c9b1a3e5f7d90/labels/lbl_0a1b2c3d4e5f46a7b8c9d0e1f2a3b4c5' \
-H 'Authorization: Bearer <TOKEN>'
