code: func (p *PoliciesClient) Attach(ctx context.Context, org, policy, team *identity.ID) error {
  	attachment := primitive.PolicyAttachment{
  		OrgID:    org,
  		OwnerID:  team,
  		PolicyID: policy,
  	}
  
  	ID, err := identity.NewMutable(&attachment)
  	if err != nil {
  		return err
  	}
  
  	env := envelope.PolicyAttachment{
  		ID:      &ID,
  		Version: 1,
  		Body:    &attachment,
  	}
  
  	return p.client.RoundTrip(ctx, "POST", "/policy-attachments", nil, &env, nil)
  }
docs: // Attach attaches a policy to a team