New feature: delete a board via the API
July 13th, 2022
You can now delete your board via the API by using the delete board mutation!
Enjoy the ease in deleting boards without the manual work of navigating the site.
The delete board mutation will allow you to delete one board at a time.
Below are examples of how to use this new mutation:
mutation {
delete_board (board_id: 12345678) {
id
}
}
let query = 'mutation { delete_board (board_id: 12345678) { id }}';
fetch ("https://api.monday.com/v2", {
method: 'post',
headers: {
'Content-Type': 'application/json',
'Authorization' : 'YOUR_API_KEY_HERE'
},
body: JSON.stringify({
'query' : query
})
})
.then(res => res.json())
.then(res => console.log(JSON.stringify(res, null, 2)));
curl --location --request POST 'https://api.monday.com/v2' \
--header 'Authorization: YourSuperSecretApiKey' \
--header 'Content-Type: application/json' \
--data-raw '{"query": "mutation { delete_board (board_id: 12345678) { id }}"}'
The delete board mutation is currently live and ready for use!