New feature: delete a board via the API

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:

GraphQL

mutation {
    delete_board (board_id: 12345678) {
        id
    }
}

JavaScript

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

curl --location --request POST 'https://api.monday.com/v2' \
--header 'Authorization: YourSuperSecretApiKey' \
--header 'Content-Type: application/json' \
--header 'Cookie: __cfduid=d4512e647bd3dd90706f5673d6041f7c51618840981' \
--data-raw '{"query": "mutation { delete_board (board_id: 12345678) { id }}"}'

The delete board mutation is currently live and ready for use!

1 Like