跳转到主要内容
PUT
PUT /admin/api/users/{id}/allowlist

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

路径参数

id
string
必填

请求体

application/json
clients
string[] | null

null clears the per-user allowlist and falls back to the global one.

响应

Success

createdAtMs
integer<int64>
必填
enabled
boolean
必填
hasPassword
boolean
必填

Whether a console/portal password is set. password_hash itself has no field here and no accessor anywhere.

id
string
必填
name
string
必填
oauthClientAllowlist
string[] | null
必填

None inherits the levels above; an empty list denies every client for this user.

role
string
必填

Instance-wide role, admin or user. Organization and team roles are memberships and are not this.