Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why cant a archive a list by id?

I am attempting to do a simple put request to archive a list and am using Postman to test it out. However when I use the URL below it gave me a 400 error when I double checked the key and the token.

https://api.trello.com/1/lists/60020d2851f51d8a04bd50f5/closed?key=e227831cd0fd295cc85b6c2d26b6d05b&token=f17b0f31f2d8b59869439a439b342d2afc9d3888b9649b1692802ba95e6c4ca8

 

2 answers

Hi @Jake Silverman ,

Welcome to the community!

Please have look at this documentation https://developer.atlassian.com/cloud/trello/rest/api-group-actions/#api-actions-id-list-get

Regards,

Soumyadeep

0 votes
Hana Kučerová Community Leader Jan 17, 2021

Hi @Jake Silverman ,

welcome to the Atlassian Community!

First of all - I would strongly recommend you to edit your post and remove key and token from there - you should never show these values to anybody! If these are valid values, you are risking somebody will steal/damage/whatever your data.

Now to your problem - you need to add another path parameter - value=true, so that your url will look like this:

https://api.trello.com/1/lists/{id}/closed?value=true&key={key}&token={token} 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

3,638 views 25 63
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you