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
"[1, 2, 3]"
Successful operation
"Sponsorships Successfully Removed."
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."
}