func (k *KeypairsClient) Generate(ctx context.Context, orgID *identity.ID,
	output *ProgressFunc) error {

	kpgr := keypairsGenerateRequest{OrgID: orgID}

	req, reqID, err := k.client.NewRequest("POST", "/keypairs/generate", nil, &kpgr, false)
	if err != nil {
		return err
	}

	_, err = k.client.Do(ctx, req, nil, &reqID, output)
	return err
}
// Generate generates new keypairs for the user in the given org.
Generate generates new keypairs for the user in the given org.
// Generate generates new keypairs for the user in the given org .
func (k *KeypairsClient) Generate(ctx context.Context, orgID *identity.ID,
	output *ProgressFunc) error {
	kpgr := keypairsGenerateRequest{OrgID: orgID}
	req, reqID, err := k.client.NewRequest("POST", "/keypairs/generate", nil, &kpgr, false)
	if err != nil {
		return err
	}
	_, err = k.client.Do(ctx, req, nil, &reqID, output)
	return err
}
func ( k * KeypairsClient ) Generate ( ctx context . Context , orgID * identity . ID , output * ProgressFunc ) error { kpgr := keypairsGenerateRequest { OrgID : orgID } req , reqID , err := k . client . NewRequest ( " " , " " , nil , & kpgr , false ) if err != nil { return err } _ , err = k . client . Do ( ctx , req , nil , & reqID , output ) return err }
Generate generates new keypairs for the user in the given org.
Generate generates new keypairs for the user in the given org .