tcauth/tcauth.go
func (auth *Auth) DeleteRole(roleId string) error {
	cd := tcclient.Client(*auth)
	_, _, err := (&cd).APICall(nil, "DELETE", "/roles/"+url.QueryEscape(roleId), nil, nil)
	return err
}
func (auth *Auth) DeleteRole(roleId string) error {
	cd := tcclient.Client(*auth)
	_, _, err := (&cd).APICall(nil, "DELETE", "/roles/"+url.QueryEscape(roleId), nil, nil)
	return err
}
// Delete a role. This operation will succeed regardless of whether or not
// the role exists.
//
// Required scopes:
//   auth:delete-role:<roleId>
//
// See #deleteRole