Forums

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

Why cant a archive a list by id?

Jake Silverman
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!
January 16, 2021

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

1 vote
Soumyadeep Mandal - SaM
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 17, 2021

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 Champion
January 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
AUG Leaders

Atlassian Community Events