DELETE
/
admin
/
donation
/
{donation_id}
curl --request DELETE \
  --url https://api.helpyousponsor.com/v1/admin/donation/{donation_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Donation successfully deleted."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

donation_id
integer
required

ID of the donation to be deleted

Response

200
application/json
Donation successfully deleted.
message
string
Example:

"Donation successfully deleted."