curl --request DELETE \
--url https://api.helpyousponsor.com/v1/file/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Deleted File"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the file to be deleted
Successfully Deleted File
The response is of type object
.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/file/{id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Deleted File"
}