Removing folders

How to delete a folder

To delete a folder, just use the following mutation:

mutation{
  deleteFolder(id: "FOLDER_ID")
}

Expected response

{
  "data": {
    "deleteFolder": true
  }
}
circle-exclamation
circle-info

You can check what each of these parameters means directly in the full GraphQL API documentation, in the Docs menu of Altairarrow-up-right. If you're not sure how to do that, check out our tutorial on Using Altair.

circle-info

If Altair doesn't help you integrate with the API, check out some examples of how to make these requests in other ways: https://graphql.org/graphql-js/graphql-clients/arrow-up-right

Last updated