def delete(self, params=None):
if params:<EOL><INDENT>params['<STR_LIT:key>'] = self.apikey<EOL><DEDENT>else:<EOL><INDENT>params = {'<STR_LIT:key>': self.apikey}<EOL><DEDENT>return utils.make_call(API_URL, '<STR_LIT>',<EOL>path=FILE_PATH,<EOL>handle=self.handle,<EOL>params=params,<EOL>security=self.security,<EOL>transform_url=self.url if isinstance(self, filestack.models.Transform) else None)<EOL>
You may delete any file you have uploaded, either through a Filelink returned from the client or one you have initialized yourself.
This returns a response of success or failure. This action requires security.abs

*returns* [requests.response]

```python
from filestack import Client, security

# a policy requires at least an expiry
policy = {'expiry': 56589012}
sec = security(policy, 'APP_SECRET')

client =  Client('API_KEY', security=sec)
filelink = client.upload(filepath='/path/to/file/foo.txt')
response = filelink.delete()
```