interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - sCLTuzsx1n1yhDxxHjPf
      User-Agent:
      - python-gitlab/2.10.1
    method: GET
    uri: http://127.0.0.1:3000/api/v4/users?username=userfoo
  response:
    body:
      string: '[{"id":22,"name":"userfoo","username":"userfoo","state":"deactivated","avatar_url":"https://www.gravatar.com/avatar/9819d7fb1cdeee76ec1e7431e9ae9ca7?s=80\u0026d=identicon","web_url":"http://127.0.0.1:3000/userfoo","created_at":"2021-11-10T21:07:00.467Z","bio":"","location":null,"public_email":null,"skype":"","linkedin":"","twitter":"","website_url":"","organization":null,"job_title":"","pronouns":null,"bot":false,"work_information":null,"followers":0,"following":0,"local_time":null,"last_sign_in_at":null,"confirmed_at":"2021-11-10T21:07:00.111Z","last_activity_on":null,"email":"userfoo@example.org","theme_id":1,"color_scheme_id":1,"projects_limit":100000,"current_sign_in_at":null,"identities":[],"can_create_group":true,"can_create_project":true,"two_factor_enabled":false,"external":false,"private_profile":false,"commit_email":"userfoo@example.org","shared_runners_minutes_limit":null,"extra_shared_runners_minutes_limit":null,"is_admin":false,"note":"","using_license_seat":false}]'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '993'
      Content-Type:
      - application/json
      Date:
      - Wed, 10 Nov 2021 21:14:09 GMT
      Etag:
      - W/"753f0e32e5af92842ae6b284e57d289b"
      Link:
      - <http://127.0.0.1:3000/api/v4/users?active=false&admins=false&blocked=false&external=false&order_by=id&page=1&per_page=20&skip_ldap=false&sort=desc&username=userfoo&with_custom_attributes=false&without_projects=false>;
        rel="first", <http://127.0.0.1:3000/api/v4/users?active=false&admins=false&blocked=false&external=false&order_by=id&page=1&per_page=20&skip_ldap=false&sort=desc&username=userfoo&with_custom_attributes=false&without_projects=false>;
        rel="last"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Next-Page:
      - ''
      X-Page:
      - '1'
      X-Per-Page:
      - '20'
      X-Prev-Page:
      - ''
      X-Request-Id:
      - 01FM5V6WEYYEGYWTNGKBW94R8A
      X-Runtime:
      - '0.219476'
      X-Total:
      - '1'
      X-Total-Pages:
      - '1'
    status:
      code: 200
      message: OK
- request:
    body: '{}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '2'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - sCLTuzsx1n1yhDxxHjPf
      User-Agent:
      - python-gitlab/2.10.1
    method: POST
    uri: http://127.0.0.1:3000/api/v4/users/22/activate
  response:
    body:
      string: 'true'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '4'
      Content-Type:
      - application/json
      Date:
      - Wed, 10 Nov 2021 21:14:09 GMT
      Etag:
      - W/"b5bea41b6c623f7c09f1bf24dcae58eb"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - 01FM5V6WPQM5HYKBK3ZKWXYWE2
      X-Runtime:
      - '0.194022'
    status:
      code: 201
      message: Created
version: 1
