Filestack\Mixins\CommonMixin::sendDelete
Delete a file from cloud storage
Signature
public function sendDelete(string
$handle,
string
$api_key,
FilestackSecurity
$security )
Parameters
$handle
—
string
- Filestack file handle to delete
$api_key
—
string
- Filestack API Key
$security
—
object
- Filestack security object is
required for this call
Returns
- bool
- (true = delete success, false = failed)
Errors/Exceptions
-
FilestackException
- if API call fails, e.g 404 file not found