code: public Request<RecoveryCode> rotateRecoveryCode(String userId) {
          Asserts.assertNotNull(userId, "user id");
  
          String url = baseUrl
                  .newBuilder()
                  .addPathSegments("api/v2/users")
                  .addPathSegment(userId)
                  .addPathSegment("recovery-code-regeneration")
                  .build()
                  .toString();
  
          EmptyBodyRequest<RecoveryCode> request = new EmptyBodyRequest<>(client, url, "POST", new TypeReference<RecoveryCode>() {
          });
          request.addHeader("Authorization", "Bearer " + apiToken);
          return request;
      }
docs: Rotates a User's Guardian recovery code.
  A token with scope update:users is needed.
  
  @param userId the user id
  @return a Request to execute.
  @see <a href="https://auth0.com/docs/api/management/v2#!/Users/post_recovery_code_regeneration">Management API2 docs</a>