Skip to main content

Hello all,


I’m having difficulties with clearing all files from a file column.

I understand I should set clear_all to true when sending this request but where exactly should I all this variable? do I need to use the change_column_value method? should I send it to v2 or v2/file?

I would be grateful if someone could share an example of the entire GraphQL query for clearing files.


Thanks.

Hey @omershk,


welcome to the community.


This is one posibility:


    mutation {
change_column_value (board_id: 819602732, item_id: 819602741, column_id: "files",
value: "{\\"clear_all\\":true}") {
id
}
}

Just send it to the usuall v2 endpoint.


Hope that helps.


Greetings


Hey @omershk - welcome to the community!


The above suggestion from @TMNXT-Dev should do the trick 🙂 if not please let us know.


-Daniel


Thanks! problem solved 🙂


@omershk


That’s amazing! Thanks for letting us know 🙂


If you have any other questions, feel free to reach out ⭐


-Alex


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.