File: User_deactivate.yaml

package info (click to toggle)
gitlabracadabra 2.8.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,520 kB
  • sloc: python: 12,305; javascript: 663; makefile: 4
file content (108 lines) | stat: -rw-r--r-- 3,577 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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":"active","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:
      - '988'
      Content-Type:
      - application/json
      Date:
      - Wed, 10 Nov 2021 21:13:39 GMT
      Etag:
      - W/"f0697b99ded7a23a4fe93a8463edf998"
      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:
      - 01FM5V5Z75A7C760HZSQNZWZAF
      X-Runtime:
      - '0.343312'
      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/deactivate
  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:13:39 GMT
      Etag:
      - W/"b5bea41b6c623f7c09f1bf24dcae58eb"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - 01FM5V5ZJXXHX9QPYDE8VRX62P
      X-Runtime:
      - '0.226586'
    status:
      code: 201
      message: Created
version: 1