Skip to content

Commit 2f3de30

Browse files
committed
Fix getUser status code + add sample response
1 parent 088adef commit 2f3de30

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

system_admin_account_operations.yaml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,10 +709,29 @@ paths:
709709
parameters:
710710
- $ref: "#/components/parameters/user_id"
711711
responses:
712-
"403":
713-
description: Successful response
712+
"200":
713+
description: OK
714714
content:
715-
application/json: {}
715+
application/json:
716+
schema:
717+
type: object
718+
example:
719+
org_id: 1,
720+
org_name: "Team 1"
721+
email": "6196ab3dacef4e539ae8da4844b58a1f@auth.local"
722+
name: "John Doe"
723+
contact_email: "john.doe@example.org"
724+
unit: ""
725+
login_id: ""
726+
id_in_org: ""
727+
is_staff: false
728+
is_active: false
729+
phone: ""
730+
create_time: "2025-09-29T12:56:15+02:00"
731+
role: "default"
732+
avatar_url: "https://cloud.seatable.io/media/avatars/a/a/f01c6071928d63fd2837312e64d915/resized/256/70017f2bc5e0c9eeda31e8e401e2cbef.png"
733+
has_default_device: false
734+
is_force_2fa: true
716735
put:
717736
tags:
718737
- Users

0 commit comments

Comments
 (0)