Skip to main content

Delete option is not available in the API for Doc

  • August 21, 2023
  • 4 replies
  • 427 views

I want to delete Docs from my application but in the API its not available, how can I delete Docs ?

4 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • August 21, 2023

Hello there @manoranjan and welcome to the community!

I hope you like it here 💪

You can delete a workdoc with a mutation like this one, passing the ID of the doc as board_id:

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

In the future we will probably have a dedicated mutation for it, but for now, that solution works.

Cheers,
Matias


  • Author
  • New Participant
  • August 21, 2023

@Matias.Monday Thanks for your response.


  • Author
  • New Participant
  • August 21, 2023

Hello Matias,
Thanks for your response.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • August 22, 2023

Happy to help @manoranjan !