func (t *Tokens) Delete(ctx context.Context, token string) error {
	req, err := t.client.NewTokenRequest(token, "DELETE", "/tokens/"+token, nil, nil)
	if err != nil {
		log.Printf("Error building http request: %s", err)
		return err
	}

	_, err = t.client.Do(ctx, req, nil)
	if err != nil {
		log.Printf("Error making api request: %s", err)
	}

	return err
}
// Delete deletes the token with the provided value from the registry. This
// effectively logs a user out.
Delete deletes the token with the provided value from the registry. This
effectively logs a user out.
// Delete deletes the token with the provided value from the registry . This // effectively logs a user out .
func (t *Tokens) Delete(ctx context.Context, token string) error {
	req, err := t.client.NewTokenRequest(token, "DELETE", "/tokens/"+token, nil, nil)
	if err != nil {
		log.Printf("Error building http request: %s", err)
		return err
	}
	_, err = t.client.Do(ctx, req, nil)
	if err != nil {
		log.Printf("Error making api request: %s", err)
	}
	return err
}
func ( t * Tokens ) Delete ( ctx context . Context , token string ) error { req , err := t . client . NewTokenRequest ( token , " " , " " + token , nil , nil ) if err != nil { log . Printf ( " " , err ) return err } _ , err = t . client . Do ( ctx , req , nil ) if err != nil { log . Printf ( " " , err ) } return err }
Delete deletes the token with the provided value from the registry.
Delete deletes the token with the provided value from the registry .