跳转到主要内容
POST
POST /admin/api/oauth-clients

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

请求体

application/json
id
string
必填

Required, unlike every other family: the id is the client_id a third-party binary was built with, so it cannot be generated here.

name
string
必填
enabled
boolean | null
redirectUris
string[]

响应

Success

deletedAtMs
integer<int64> | null
必填

Set by retire, cleared when the same id is registered again. A retired client is kept so session history still resolves; a new registration does not un-revoke its grants.

enabled
boolean
必填
id
string
必填

The public client_id, chosen at registration and immutable after it.

name
string
必填
redirectUris
string[]
必填