curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/groups/{group_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Deleted the Group"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the group to delete
Successfully Deleted the Group
The response is of type object
.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/groups/{group_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Deleted the Group"
}