rclone/backend/yandex/api/empty_trash.go
2018-01-12 17:07:38 +00:00

9 lines
228 B
Go

package src
// EmptyTrash will permanently delete all trashed files/folders from Yandex Disk
func (c *Client) EmptyTrash() error {
fullURL := RootAddr
fullURL += "/v1/disk/trash/resources"
return c.PerformDelete(fullURL)
}