curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donor_entity_ids": "[1, 2, 3]"
}'
{
"message": "Sponsorships Successfully Removed."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data needed to archive sponsorships for a donor
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donor_entity_ids": "[1, 2, 3]"
}'
{
"message": "Sponsorships Successfully Removed."
}