rclone/backend/yandex/api/empty_trash.go

10 lines
228 B
Go
Raw Normal View History

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"
2017-09-19 23:30:08 +02:00
return c.PerformDelete(fullURL)
}