Handles the activation (restoration) of multiple archived entities within a specific program.
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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Program ID from which to activate entities
Data required for activating multiple entities, including client_id and entity_ids
The body is of type object
.
Entities successfully activated
The response is of type object
.
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"
}