interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: GET
    uri: http://localhost/api/v4/groups/test%2Fgroup_members
  response:
    body:
      string: '{"id":20,"web_url":"http://gitlab.example.com/groups/test/group_members","name":"group_members","path":"group_members","description":"","visibility":"private","lfs_enabled":true,"avatar_url":null,"request_access_enabled":false,"full_name":"test
        / group_members","full_path":"test/group_members","parent_id":3,"projects":[],"shared_projects":[]}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '344'
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 08:05:26 GMT
      Etag:
      - W/"5e0acc3de642a3143de92d12481d4ebc"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - AquPNolleK7
      X-Runtime:
      - '0.104789'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: GET
    uri: http://localhost/api/v4/groups/20/members
  response:
    body:
      string: '[{"id":10,"name":"Some Member","username":"some_member","state":"active","avatar_url":"https://www.gravatar.com/avatar/b2e136501f5640b23119174ee1c1d622?s=80\u0026d=identicon","web_url":"http://gitlab.example.com/some_member","access_level":30,"expires_at":null}]'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '262'
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 08:05:26 GMT
      Etag:
      - W/"458e035819c910a0a4f2876d6328e091"
      Link:
      - <http://gitlab.example.com/api/v4/groups/20/members?id=20&page=1&per_page=20>;
        rel="first", <http://gitlab.example.com/api/v4/groups/20/members?id=20&page=1&per_page=20>;
        rel="last"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      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:
      - 9mcRRb4LvX5
      X-Runtime:
      - '0.038216'
      X-Total:
      - '1'
      X-Total-Pages:
      - '1'
    status:
      code: 200
      message: OK
- request:
    body: '{"access_level": 40}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '20'
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - DKkdC5JmKWWZgXZGzg83
      User-Agent:
      - python-requests/2.21.0
    method: PUT
    uri: http://localhost/api/v4/groups/20/members/10
  response:
    body:
      string: '{"id":10,"name":"Some Member","username":"some_member","state":"active","avatar_url":"https://www.gravatar.com/avatar/b2e136501f5640b23119174ee1c1d622?s=80\u0026d=identicon","web_url":"http://gitlab.example.com/some_member","access_level":40,"expires_at":null}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Connection:
      - keep-alive
      Content-Length:
      - '260'
      Content-Type:
      - application/json
      Date:
      - Mon, 13 May 2019 08:05:26 GMT
      Etag:
      - W/"fdd39686b783a590a3775f9c15ac43ae"
      Server:
      - nginx
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - zjlIdvLPXh4
      X-Runtime:
      - '0.273531'
    status:
      code: 200
      message: OK
version: 1
