curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships/archive \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"donor_entity_ids": "[1, 2, 3]"
}
'{
"message": "Sponsorships Successfully Removed."
}API key generated from Developer Settings. Format: hys_...
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 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"donor_entity_ids": "[1, 2, 3]"
}
'{
"message": "Sponsorships Successfully Removed."
}