Action: Update a Card
Trello Operation
Last updated
{
"handle": "update-card",
"state": "inDev",
"meta": {
"short": "Update Card",
"description": "Update an existing card in Trello."
},
"input": [
{
"name": "id",
"type": "String",
"required": true,
"meta": {
"description": "The ID of the card to update."
}
},
{
"name": "name",
"type": "String",
"required": false,
"meta": {
"description": "The new name for the card."
}
},
{
"name": "desc",
"type": "String",
"required": false,
"meta": {
"description": "The new description for the card."
}
},
{
"name": "idList",
"type": "String",
"required": false,
"meta": {
"description": "The ID of the list to move the card to."
}
}
],
"output": [
{
"name": "card",
"type": "Object",
"selector": [],
"meta": {
"description": "The updated card object."
}
}
],
"steps": [
{
"type": "http",
"http": {
"method": "PUT",
"path": "/cards/{{id}}",
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\":\"{{name}}\",\"desc\":\"{{desc}}\",\"idList\":\"{{idList}}\"}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "The new name for the card.",
"required": false
},
{
"name": "desc",
"type": "String",
"description": "The new description for the card.",
"required": false
},
{
"name": "idList",
"type": "String",
"description": "The ID of the list to move the card to.",
"required": false
}
]
}
}
}
]
}