POST
/
admin
/
sponsorships
/
archive
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."
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Data needed to archive sponsorships for a donor
donor_entity_ids
integer[]
Example:

"[1, 2, 3]"

Response

200
application/json
Successful operation
message
string
Example:

"Sponsorships Successfully Removed."