curl --request DELETE \
--url https://api.helpyousponsor.com/v1/client/admins/{admin_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Deleted Admin"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the admin to be removed
Admin successfully deleted
The response is of type object
.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/client/admins/{admin_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully Deleted Admin"
}