cURL
curl --request DELETE \ --url https://stashy.example.com/api/v1/files/{id} \ --header 'Authorization: Bearer <token>'
{}
Delete a file. Only the owner can delete.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The response is of type DeleteFileResponse · object.
DeleteFileResponse · object