Handles the removal (archival) of an entity based on the provided entity ID.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/entity/{entity_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Archived."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Entity ID of the entity to archive
Entity successfully archived
The response is of type object
.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/entity/{entity_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Archived."
}