in entity.go [123:130]
func (c *Client) DeleteEntityRole(entityID string, role string) error {
resp, err := c.request(http.MethodDelete, fmt.Sprintf("/entities/%s:%s", url.PathEscape(entityID), url.PathEscape(role)), "application/json", nil)
if err == nil {
resp.Close()
}
return err
}