Skip to content

Delete a Folder

Endpoint used to delete a folder from a Toolzz Bots workspace.

Terminal window
curl --request DELETE \
--url 'https://bots.toolzz.ai/api/v1/folders/{folderId}?workspaceId={workspaceId}' \
--header 'Authorization: Bearer <token>'
{
"message": "<string>"
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
folderIdstringThe unique identifier of the folder to delete.Yes
ParameterTypeDescriptionRequired
workspaceIdstringThe unique identifier of the workspace to delete a folder from.Yes

KeyTypeDescription
messagestringSuccessful deletion confirmation message.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.