Handles the removal (archival) of one or multiple entities,
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/entities/{program_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Removed"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Program ID from which to remove entities
Comma-separated list of entity IDs to delete
"1,2,3"
Entities successfully removed
The response is of type object
.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/entities/{program_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Removed"
}