AnalyticsDirectoriesDirectoryid
Deletes a folder. A non-empty one is refused unless moveContentsToDefault is set — metrics carry the history of measured values and are never deleted as a side effect.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using Bearer scheme
In: header
Path Parameters
directoryId*string
Folder to delete.
Format
uuidQuery Parameters
moveContentsToDefault?boolean
Move contents to the default folder instead of refusing.
Default
falseResponse Body
application/json
curl -X DELETE "https://test.api.speaknode.com/api/Analytics/directories/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"success": true,
"error": "string",
"moved_metrics": 0,
"moved_directories": 0
}