Removing folders
How to delete a folder
mutation{
deleteFolder(id: "FOLDER_ID")
}{
"data": {
"deleteFolder": true
}
}Last updated
How to delete a folder
To delete a folder, just use the following mutation:
mutation{
deleteFolder(id: "FOLDER_ID")
}Expected response
{
"data": {
"deleteFolder": true
}
}If the folder contains documents, they will be marked as "no folder" and can be found in the default directory.
You can check what each of these parameters means directly in the full GraphQL API documentation, in the Docs menu of Altair. If you're not sure how to do that, check out our tutorial on Using Altair.
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/
Last updated