POST
/
admin
/
donors
/
activate
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/donors/activate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "donor_ids": "[1,2,3]",
  "hysform_id": 1,
  "client_id": "1",
  "with_commitments": 1
}'
{
  "message": "Successfully Restored"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
donor_ids
integer[]
required
Example:

"[1,2,3]"

hysform_id
integer
required
Example:

1

client_id
string
required
Example:

"1"

with_commitments
integer
Example:

1

Response

200
application/json
Successful operation
message
string
Example:

"Successfully Restored"