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

Authorizations

Authorization
string
header
required

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

Path Parameters

program_id
integer
required

Program ID from which to activate entities

Body

application/json
Data required for activating multiple entities, including client_id and entity_ids
client_id
string
required
entity_ids
integer[]
required

Response

200 - application/json
Entities successfully activated
message
string
Example:

"Successfully Restored"