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