curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donors/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donor_ids": "[1,2,3]",
"hysform_id": 1,
"client_id": "1"
}'
{
"message": "Successfully archived donor(s)."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donors/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donor_ids": "[1,2,3]",
"hysform_id": 1,
"client_id": "1"
}'
{
"message": "Successfully archived donor(s)."
}