func (i *InvitesClient) Approve(ctx context.Context, inviteID identity.ID, output *ProgressFunc) error {
	req, reqID, err := i.client.NewRequest("POST", "/org-invites/"+inviteID.String()+"/approve", nil, nil, false)
	if err != nil {
		return err
	}

	_, err = i.client.Do(ctx, req, nil, &reqID, output)
	if err != nil {
		return err
	}

	return nil
}
// Approve executes the approve invite request
Approve executes the approve invite request
// Approve executes the approve invite request
func (i *InvitesClient) Approve(ctx context.Context, inviteID identity.ID, output *ProgressFunc) error {
	req, reqID, err := i.client.NewRequest("POST", "/org-invites/"+inviteID.String()+"/approve", nil, nil, false)
	if err != nil {
		return err
	}
	_, err = i.client.Do(ctx, req, nil, &reqID, output)
	if err != nil {
		return err
	}
	return nil
}
func ( i * InvitesClient ) Approve ( ctx context . Context , inviteID identity . ID , output * ProgressFunc ) error { req , reqID , err := i . client . NewRequest ( " " , " " + inviteID . String ( ) + " " , nil , nil , false ) if err != nil { return err } _ , err = i . client . Do ( ctx , req , nil , & reqID , output ) if err != nil { return err } return nil }
Approve executes the approve invite request
Approve executes the approve invite request