The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting card via REST Api

Ashleigh Aathar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2020

Hi all, I have a question regarding deleting a card via REST Api.

In my request, I format it as described on the Trello documentation, with the request method set to 'DELETE' and the request url being:

https://api.trello.com/1/cards/?id={cardId}&key={key}&token={token} where the values in {} are replaced with the actual values.

However, I am unable to delete the card and I receive this message via Postman:

Cannot DELETE /1/cards/?id={cardId}&key={key}&token={token}

 

Thanks and appreciate the help

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Iain Dooley
Community Champion
June 12, 2020

@Ashleigh Aathar are you replacing {cardid} with the card id so it looks like

id=ad0s98a0df&

or are you replacing cardid with the card id so that it looks like

id={adsf09adf}&

It should be the former ... Also, are you able to fetch the card details with a GET request? That would demonstrate there are no problems generally with your syntax or access to the card

TAGS
AUG Leaders

Atlassian Community Events