card

updateCardsLabelsByIdCard()

put/cards/{idCard}/labels

Path parameters

idCardstring required

card id or shortlink

Query parameters

keystring required

<a href="https://trello.com/1/appKey/generate" target="_blank">Generate your application key</a>

tokenstring required

<a href="https://trello.com/docs/gettingstarted/index.html#getting-a-token-from-a-user" target="_blank">Getting a token from a user</a>

Request body

colorstring

A valid label color or null

namestring

a string with a length from 0 to 16384

valuestring

all or a comma-separated list of: blue, green, orange, purple, red or yellow

Response

Success

Changes

Changed in 1 of the 5 revisions of this API.3

    • the endpoint scheme security api_key was added to the API

      api-security-added

    • the endpoint scheme security api_token was added to the API

      api-security-added

    • the endpoint scheme security trello_auth was removed from the API

      api-security-removed