Space Storage

Delete a file or directory from space storage

Delete a file or directory from space storage. The path is specified in the URL after /delete/. If recursive is true and the path is a directory, all files within it will be deleted.

post/space/{spaceId}/storage/delete/{path}

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/space/{spaceId}/storage/delete/{path}
  • Auth: HTTP bearer

Path parameters

spaceIdstring required

The ID of the space

pathstring required

The file or directory path

Request body

recursiveboolean

Whether to delete directory contents recursively

Response

The file or directory was deleted successfully

pathstring required

The deleted file or directory path

Changes

No recorded changes to this operation across all 1 revision of this API.