func (client *Client) DeleteRoleContext(
	ctx context.Context, name string,
) (*ErrorInfo, error) {
	if name == "" {
		return nil, errors.New("name is empty")
	}
	u, err := client.Endpoints().Role(name)
	if err != nil {
		return nil, err
	}
	return client.callDelete(ctx, u.String(), nil, nil)
}
// DeleteRoleContext deletes a given role with a context.
DeleteRoleContext deletes a given role with a context.
// DeleteRoleContext deletes a given role with a context .
func (client *Client) DeleteRoleContext(
	ctx context.Context, name string,
) (*ErrorInfo, error) {
	if name == "" {
		return nil, errors.New("name is empty")
	}
	u, err := client.Endpoints().Role(name)
	if err != nil {
		return nil, err
	}
	return client.callDelete(ctx, u.String(), nil, nil)
}
func ( client * Client ) DeleteRoleContext ( ctx context . Context , name string , ) ( * ErrorInfo , error ) { if name == " " { return nil , errors . New ( " " ) } u , err := client . Endpoints ( ) . Role ( name ) if err != nil { return nil , err } return client . callDelete ( ctx , u . String ( ) , nil , nil ) }
DeleteRoleContext deletes a given role with a context.
DeleteRoleContext deletes a given role with a context .