---
http_interactions:
- request:
    method: patch
    uri: https://auth0-sdk-tests.auth0.com/api/v2/connections/con_WltM0fv20JCnxOuY
    body:
      encoding: UTF-8
      string: '{"options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"excellent","strategy_version":2,"brute_force_protection":true}}'
    headers:
      Accept:
      - "*/*"
      User-Agent:
      - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0
      Content-Type:
      - application/json
      Auth0-Client:
      - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0=
      Authorization:
      - Bearer API_TOKEN
      Content-Length:
      - '145'
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Host:
      - auth0-sdk-tests.auth0.com
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Fri, 03 Sep 2021 20:16:22 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Cf-Ray:
      - 6891a7cd0c0852a1-LAX
      Cache-Control:
      - no-cache
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - origin,accept-encoding
      Cf-Cache-Status:
      - DYNAMIC
      Expect-Ct:
      - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
      Ot-Baggage-Auth0-Request-Id:
      - 6891a7cd0c0852a1
      Ot-Tracer-Sampled:
      - 'true'
      Ot-Tracer-Spanid:
      - 6ae91aa621a42701
      Ot-Tracer-Traceid:
      - 0d7d8cee34fd8135
      X-Content-Type-Options:
      - nosniff
      X-Ratelimit-Limit:
      - '50'
      X-Ratelimit-Remaining:
      - '49'
      X-Ratelimit-Reset:
      - '1630700183'
      Server:
      - cloudflare
      Alt-Svc:
      - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
        ma=86400
    body:
      encoding: ASCII-8BIT
      string: '{"id":"con_WltM0fv20JCnxOuY","options":{"mfa":{"active":true,"return_enroll_settings":true},"passwordPolicy":"excellent","strategy_version":2,"brute_force_protection":true},"strategy":"auth0","name":"TestConnection-rubytest-210908","is_domain_connection":false,"enabled_clients":[],"realms":["TestConnection-rubytest-210908"]}'
  recorded_at: Fri, 03 Sep 2021 20:16:22 GMT
recorded_with: VCR 6.0.0