code: public Request<TwilioFactorProvider> updateTwilioFactorProvider(TwilioFactorProvider provider) {
          Asserts.assertNotNull(provider, "provider");
  
          String url = baseUrl
                  .newBuilder()
                  .addPathSegments("api/v2/guardian/factors/sms/providers/twilio")
                  .build()
                  .toString();
          CustomRequest<TwilioFactorProvider> request = new CustomRequest<>(client, url, "PUT", new TypeReference<TwilioFactorProvider>() {
          });
          request.addHeader("Authorization", "Bearer " + apiToken);
          request.setBody(provider);
          return request;
      }
docs: Update Guardian's Twilio SMS Factor Provider. A token with scope update:guardian_factors is needed.
  
  @param provider the provider data to set.
  @return a Request to execute.
  @see <a href="https://auth0.com/docs/api/management/v2#!/Guardian/put_twilio">Management API2 docs</a>