概述
這是 Keycloak 管理 REST API 的 REST API 參考文件。
版本資訊
版本:1.0
OpenAPI 定義
OpenAPI 定義是目前處於預覽階段的功能。請透過加入此討論提供您的意見回饋,我們會持續改進。如果您發現任何過時或錯誤的地方,請建立 GitHub issue 並提供 pull request。 |
資源
攻擊偵測
DELETE /admin/realms/{realm}/attack-detection/brute-force/users
清除所有使用者的所有登入失敗記錄。這可以解除暫時停用的使用者。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
DELETE /admin/realms/{realm}/attack-detection/brute-force/users/{userId}
清除使用者的所有登入失敗記錄。這可以解除暫時停用的使用者。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
userId |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/attack-detection/brute-force/users/{userId}
取得使用者名稱在暴力破解偵測中的狀態
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
userId |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
Map[<<>>] |
身份驗證管理
GET /admin/realms/{realm}/authentication/authenticator-providers
取得身份驗證器提供者。傳回身份驗證器提供者的串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[AnyType]] |
GET /admin/realms/{realm}/authentication/client-authenticator-providers
取得用戶端身份驗證器提供者。傳回用戶端身份驗證器提供者的串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[AnyType]] |
GET /admin/realms/{realm}/authentication/config-description/{providerId}
取得身份驗證器提供者的設定描述
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
providerId |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/authentication/config/{id}
刪除身份驗證器設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
設定 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/authentication/config/{id}
取得身份驗證器設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
設定 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/authentication/config/{id}
更新身份驗證器設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
設定 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
AuthenticatorConfigRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/authentication/config
建立新的身份驗證器設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
AuthenticatorConfigRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
GET /admin/realms/{realm}/authentication/executions/{executionId}/config/{id}
取得執行的設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
executionId |
執行 ID |
null |
|
id |
設定 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/authentication/executions/{executionId}/config
以新的設定更新執行
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
executionId |
執行 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
AuthenticatorConfigRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
DELETE /admin/realms/{realm}/authentication/executions/{executionId}
刪除執行
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
executionId |
執行 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/authentication/executions/{executionId}
取得單一執行
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
executionId |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/authentication/executions/{executionId}/lower-priority
降低執行的優先順序
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
executionId |
執行 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/authentication/executions/{executionId}/raise-priority
提高執行的優先順序
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
executionId |
執行 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/authentication/executions
新增身份驗證執行
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
AuthenticationExecutionRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
POST /admin/realms/{realm}/authentication/flows/{flowAlias}/copy
以新的名稱複製現有的身份驗證流程。新名稱會以傳遞的 JSON 物件的 'newName' 屬性給定。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
flowAlias |
現有身份驗證流程的名稱 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
request_body |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution
將新的身份驗證執行新增至流程
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
flowAlias |
父流程的別名 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
request_body |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/flow
將具有新執行的新流程新增至現有流程
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
flowAlias |
父身份驗證流程的別名 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
request_body |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
GET /admin/realms/{realm}/authentication/flows/{flowAlias}/executions
取得流程的身份驗證執行
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
flowAlias |
流程別名 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/authentication/flows/{flowAlias}/executions
更新流程的身份驗證執行
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
flowAlias |
流程別名 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
AuthenticationExecutionInfoRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/authentication/flows
取得身份驗證流程。傳回身份驗證流程的串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/authentication/flows/{id}
刪除身份驗證流程
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
流程 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/authentication/flows/{id}
取得 ID 的身份驗證流程
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
流程 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/authentication/flows/{id}
更新身份驗證流程
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
AuthenticationFlowRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/authentication/flows
建立新的身份驗證流程
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
AuthenticationFlowRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
GET /admin/realms/{realm}/authentication/form-action-providers
取得表單動作提供者。傳回表單動作提供者的串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[AnyType]] |
GET /admin/realms/{realm}/authentication/form-providers
取得表單提供者。傳回表單提供者的串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[AnyType]] |
GET /admin/realms/{realm}/authentication/per-client-config-description
取得所有用戶端的設定描述
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/authentication/register-required-action
註冊新的必要動作
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
DELETE /admin/realms/{realm}/authentication/required-actions/{alias}/config
刪除 RequiredAction 設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/authentication/required-actions/{alias}/config-description
取得 RequiredAction 提供者設定描述
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/authentication/required-actions/{alias}/config
取得 RequiredAction 設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/authentication/required-actions/{alias}/config
更新 RequiredAction 設定
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RequiredActionConfigRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
DELETE /admin/realms/{realm}/authentication/required-actions/{alias}
刪除必要動作
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/authentication/required-actions/{alias}
取得別名的必要動作
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority
降低必要動作的優先順序
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/authentication/required-actions/{alias}
更新必要動作
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RequiredActionProviderRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority
提高必要動作的優先順序
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
必要動作的別名 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/authentication/required-actions
取得必要動作。傳回必要動作的串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/authentication/unregistered-required-actions
取得未註冊的必要動作。傳回未註冊必要動作的串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[string]] |
用戶端屬性憑證
POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/download
取得用戶端的金鑰儲存檔案,其中包含私密金鑰和公開憑證
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
attr |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
KeyStoreConfig |
內容類型
-
application/octet-stream
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate-and-download
產生新的金鑰配對和憑證,並取得私密金鑰檔案。產生金鑰配對和憑證,並以指定的金鑰儲存格式提供私密金鑰。只有產生的公開憑證會儲存在 Keycloak 資料庫中,私密金鑰則不會。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
attr |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
KeyStoreConfig |
內容類型
-
application/octet-stream
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/generate
以新的金鑰配對產生新的憑證
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
attr |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}
取得金鑰資訊
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
attr |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload-certificate
僅上傳憑證,不含私密金鑰
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
attr |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/clients/{client-uuid}/certificates/{attr}/upload
上傳憑證,並視情況上傳私密金鑰
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
attr |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
用戶端初始存取
GET /admin/realms/{realm}/clients-initial-access
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/clients-initial-access/{id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/clients-initial-access
建立新的初始存取權杖。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientInitialAccessCreatePresentation |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
用戶端註冊策略
GET /admin/realms/{realm}/client-registration-policy/providers
基本路徑,用於檢索具有正確填入 configProperties 的提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
用戶端角色對應
GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/available
取得可對應至使用者或群組的可用用戶端層級角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/composite
取得有效的用戶端層級角色映射。這會遞迴任何複合角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}
從使用者或群組角色映射中刪除用戶端層級角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}
取得使用者或群組以及應用程式的用戶端層級角色映射
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}
將用戶端層級角色新增至使用者或群組角色映射
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/available
取得可對應至使用者或群組的可用用戶端層級角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/composite
取得有效的用戶端層級角色映射。這會遞迴任何複合角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}
從使用者或群組角色映射中刪除用戶端層級角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}
取得使用者或群組以及應用程式的用戶端層級角色映射
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}
將用戶端層級角色新增至使用者或群組角色映射
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
client-id |
用戶端 ID (不是 clientId!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
用戶端範圍
DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}
刪除用戶端範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}
取得用戶端範圍的表示法
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/client-scopes/{client-scope-id}
更新用戶端範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientScopeRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-scopes
取得屬於領域的用戶端範圍。傳回屬於該領域的用戶端範圍列表
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[用戶端範圍表示法] |
POST /admin/realms/{realm}/client-scopes
建立新的用戶端範圍。用戶端範圍的名稱必須是唯一的!
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientScopeRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
DELETE /admin/realms/{realm}/client-templates/{client-scope-id}
刪除用戶端範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}
取得用戶端範圍的表示法
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/client-templates/{client-scope-id}
更新用戶端範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientScopeRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-templates
取得屬於領域的用戶端範圍。傳回屬於該領域的用戶端範圍列表
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[用戶端範圍表示法] |
POST /admin/realms/{realm}/client-templates
建立新的用戶端範圍。用戶端範圍的名稱必須是唯一的!
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientScopeRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
用戶端
GET /admin/realms/{realm}/clients/{client-uuid}/client-secret
取得用戶端密碼
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/clients/{client-uuid}/client-secret
為用戶端產生新的密碼
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/clients/{client-uuid}/client-secret/rotated
使用戶端的輪換密碼失效
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/client-secret/rotated
取得輪換的用戶端密碼
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/default-client-scopes
取得預設的用戶端範圍。只傳回名稱和 ID。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[用戶端範圍表示法] |
DELETE /admin/realms/{realm}/clients/{client-uuid}
刪除用戶端
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-access-token
建立具有範例存取權杖酬載的 JSON
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
範圍 |
null |
||
userId |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-id-token
建立具有範例 ID 權杖酬載的 JSON
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
範圍 |
null |
||
userId |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/generate-example-userinfo
建立具有範例使用者資訊酬載的 JSON
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
範圍 |
null |
||
userId |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
Map[<<>>] |
GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/protocol-mappers
傳回所有協定對應程式的列表,這些對應程式將在產生針對特定用戶端發出的權杖時使用。
描述
這表示直接指派給此用戶端的協定對應程式,以及指派給此用戶端所有用戶端範圍的協定對應程式。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
範圍 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[協定對應程式評估表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/granted
取得特定角色容器所有角色的有效範圍映射,此用戶端實際上允許在為其發出的存取權杖中擁有這些角色。
描述
這包含此用戶端直接擁有的範圍映射,以及授與給與此用戶端連結的所有用戶端範圍的範圍映射。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色容器 ID |
領域名稱或用戶端 UUID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
範圍 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}/evaluate-scopes/scope-mappings/{roleContainerId}/not-granted
取得此用戶端沒有範圍,並且無法在為其發出的存取權杖中擁有的角色。
描述
實際上是特定角色容器中,不在 {@link #getGrantedScopeMappings()} 中的所有其他角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色容器 ID |
領域名稱或用戶端 UUID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
範圍 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}
取得用戶端的表示法
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/installation/providers/{providerId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
providerId |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/management/permissions
傳回物件,說明是否已初始化用戶端授權權限以及參照
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/clients/{client-uuid}/management/permissions
傳回物件,說明是否已初始化用戶端授權權限以及參照
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ManagementPermissionReference |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/clients/{client-uuid}/nodes/{node}
從用戶端取消註冊叢集節點
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
節點 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/clients/{client-uuid}/nodes
向用戶端註冊叢集節點。手動向此用戶端註冊叢集節點。通常不需要直接呼叫此方法,因為配接器應該透過將註冊請求傳送至 Keycloak 來處理。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
request_body |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/offline-session-count
取得應用程式離線工作階段計數。傳回與此用戶端相關聯的離線使用者工作階段數 { "count": number }
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
地圖[[長整數]] |
GET /admin/realms/{realm}/clients/{client-uuid}/offline-sessions
取得用戶端的離線工作階段。傳回與此用戶端相關聯的離線使用者工作階段列表
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
first |
分頁偏移量 |
null |
|
max |
最大結果大小(預設為 100) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[使用者工作階段表示法] |
DELETE /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/optional-client-scopes
取得選用的用戶端範圍。只傳回名稱和 ID。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[用戶端範圍表示法] |
POST /admin/realms/{realm}/clients/{client-uuid}/push-revocation
將用戶端的撤銷原則推送至其管理員 URL。如果用戶端具有管理員 URL,則將撤銷原則推送至該 URL。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/clients/{client-uuid}
更新用戶端
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
POST /admin/realms/{realm}/clients/{client-uuid}/registration-access-token
為用戶端產生新的註冊存取權杖
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/service-account-user
取得專用於服務帳戶的使用者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/session-count
取得應用程式工作階段計數。傳回與此用戶端相關聯的使用者工作階段數 { "count": number }
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
地圖[[長整數]] |
GET /admin/realms/{realm}/clients/{client-uuid}/test-nodes-available
測試已註冊的叢集節點是否可用。透過傳送「ping」請求至所有叢集節點來測試可用性。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/user-sessions
取得用戶端的使用者工作階段。傳回與此用戶端相關聯的使用者工作階段列表
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
first |
分頁偏移量 |
null |
|
max |
最大結果大小(預設為 100) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[使用者工作階段表示法] |
GET /admin/realms/{realm}/clients
取得屬於領域的用戶端。
描述
如果由於基礎儲存體的問題而無法從儲存體擷取用戶端,則會從傳回的列表中靜默移除。這可確保對列表的並行修改不會阻止呼叫者擷取此列表。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
用戶端 ID |
依用戶端 ID 篩選 |
null |
|
first |
第一個結果 |
null |
|
max |
要傳回的最大結果數 |
null |
|
q |
null |
||
搜尋 |
這是否為搜尋查詢或 getClientById 查詢 |
false |
|
viewableOnly |
篩選管理員無法完整檢視的用戶端 |
false |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[用戶端表示法] |
POST /admin/realms/{realm}/clients
建立新的用戶端。用戶端的 client_id 必須是唯一的!
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
元件
GET /admin/realms/{realm}/components
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
名稱 |
null |
||
父項 |
null |
||
類型 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[元件表示法] |
DELETE /admin/realms/{realm}/components/{id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/components/{id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/components/{id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ComponentRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/components/{id}/sub-component-types
可用於設定特定父元件的子元件類型列表。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
類型 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/components
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ComponentRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
預設
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/import
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ResourceServerRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/evaluate
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
PolicyEvaluationRequest |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
|
500 |
內部伺服器錯誤 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
欄位 |
null |
||
first |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
權限 |
null |
||
原則 ID |
null |
||
資源 |
null |
||
範圍 |
null |
||
類型 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[抽象原則表示法] |
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
主體 |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/providers
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[原則提供者表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/permission/search
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
欄位 |
null |
||
名稱 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
|
204 |
無內容 |
<<>> |
400 |
錯誤請求 |
<<>> |
POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/evaluate
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
PolicyEvaluationRequest |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
|
500 |
內部伺服器錯誤 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
欄位 |
null |
||
first |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
權限 |
null |
||
原則 ID |
null |
||
資源 |
null |
||
範圍 |
null |
||
類型 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[抽象原則表示法] |
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
主體 |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/providers
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[原則提供者表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/policy/search
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
欄位 |
null |
||
名稱 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
|
204 |
無內容 |
<<>> |
400 |
錯誤請求 |
<<>> |
PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ResourceServerRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[資源表示法] |
POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ResourceRepresentation |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
|
400 |
錯誤請求 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/attributes
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
資源 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
DELETE /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
資源 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
404 |
找不到 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
資源 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
|
404 |
找不到 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/permissions
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
資源 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[原則表示法] |
404 |
找不到 |
<<>> |
PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
資源 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ResourceRepresentation |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
404 |
找不到 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/{resource-id}/scopes
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
資源 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
名稱 |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[範圍表示法] |
404 |
找不到 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/resource/search
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
||
深度 |
null |
||
完全符合名稱 |
null |
||
first |
null |
||
符合 URI |
null |
||
max |
null |
||
擁有者 |
null |
||
範圍 |
null |
||
類型 |
null |
||
URI |
null |
||
名稱 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
|
400 |
錯誤請求 |
<<>> |
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
first |
null |
||
max |
null |
||
名稱 |
null |
||
範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[範圍表示法] |
POST /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ScopeRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
DELETE /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
|
404 |
找不到 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/permissions
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[原則表示法] |
404 |
找不到 |
<<>> |
PUT /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ScopeRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/{scope-id}/resources
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[資源表示法] |
404 |
找不到 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope/search
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
名稱 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[範圍表示法] |
204 |
無內容 |
<<>> |
400 |
錯誤請求 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/settings
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
群組
GET /admin/realms/{realm}/groups/count
傳回群組計數。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
搜尋 |
null |
||
頂層 |
false |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
地圖[[長整數]] |
GET /admin/realms/{realm}/groups
取得群組階層。只傳回名稱和 ID。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
true |
||
完全符合 |
false |
||
first |
null |
||
max |
null |
||
填入階層 |
true |
||
q |
null |
||
搜尋 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[群組表示法] |
GET /admin/realms/{realm}/groups/{group-id}/children
傳回分頁的子群組列表,這些子群組具有對應於 URL 上群組的父群組
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
布林值,定義是否傳回簡短的群組表示法(預設:false) |
false |
|
完全符合 |
布林值,定義參數 ""search"" 是否必須完全符合 |
null |
|
first |
要傳回的第一個結果的位置(分頁偏移量)。 |
null |
|
max |
要返回的最大結果數。預設值為 10 |
null |
|
搜尋 |
代表確切群組名稱或部分名稱的字串 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[群組表示法] |
POST /admin/realms/{realm}/groups/{group-id}/children
設定或建立子群組。
描述
如果父群組存在,這將只設定父群組。如果群組不存在,則建立它並設定父群組。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
GroupRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
DELETE /admin/realms/{realm}/groups/{group-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/groups/{group-id}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/groups/{group-id}/management/permissions
傳回物件,說明是否已初始化用戶端授權權限以及參照
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/groups/{group-id}/management/permissions
傳回物件,說明是否已初始化用戶端授權權限以及參照
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ManagementPermissionReference |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/groups/{group-id}/members
取得使用者。返回根據查詢參數篩選的使用者串流
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
僅返回基本資訊(僅保證返回 id、username、created、first 和 last name、email、enabled 狀態、email 驗證狀態、federation link 和 access。請注意,這表示不會返回使用者屬性、必要動作和 not before)。 |
null |
|
first |
分頁偏移量 |
null |
|
max |
最大結果大小(預設為 100) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[UserRepresentation] |
PUT /admin/realms/{realm}/groups/{group-id}
更新群組,忽略子群組。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
GroupRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
POST /admin/realms/{realm}/groups
建立或新增頂層 realm 群組。設定或建立子群組。
描述
如果父群組存在,這將更新群組並設定父群組。如果群組不存在,則建立它並設定父群組。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
GroupRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
身份提供者
POST /admin/realms/{realm}/identity-provider/import-config
從 JSON 主體匯入身分提供者
描述
從上傳的 JSON 檔案匯入身分提供者
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
Map[[string]] |
DELETE /admin/realms/{realm}/identity-provider/instances/{alias}
刪除身分提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/identity-provider/instances/{alias}/export
匯出身分提供者的公用代理組態
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
格式 |
要使用的格式 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/identity-provider/instances/{alias}
取得身分提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions
傳回物件,說明是否已初始化用戶端授權權限以及參照
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions
傳回物件,說明是否已初始化用戶端授權權限以及參照
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ManagementPermissionReference |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/identity-provider/instances/{alias}/mapper-types
取得身分提供者的對應器類型
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
內容類型
-
*/*
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers
取得身分提供者的對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}
刪除身分提供者的對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
||
id |
對應器 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}
依 ID 取得身分提供者的對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
||
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}
更新身分提供者的對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
||
id |
對應器 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
IdentityProviderMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/identity-provider/instances/{alias}/mappers
新增對應器至身分提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
IdentityProviderMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
PUT /admin/realms/{realm}/identity-provider/instances/{alias}
更新身分提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
IdentityProviderRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/identity-provider/instances/{alias}/reload-keys
如果提供者支援,則重新載入身分提供者的金鑰。如果已執行重新載入,則返回「true」,如果沒有,則返回「false」。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
alias |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/identity-provider/instances
列出身分提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
布林值,定義是否返回簡短表示法(預設值:false) |
null |
|
first |
分頁偏移量 |
null |
|
max |
最大結果大小(預設為 100) |
null |
|
realmOnly |
布林值,定義是否只應返回 realm 層級的 IDP(與組織無關)(預設值:false) |
null |
|
搜尋 |
依名稱篩選特定的提供者。搜尋可以是前綴 (name*)、包含 (name) 或精確 ("name")。預設為前綴。 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/identity-provider/instances
建立新的身分提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
IdentityProviderRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/identity-provider/providers/{provider_id}
取得該提供者 ID 的身分提供者工廠
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
provider_id |
要取得工廠的提供者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
金鑰
GET /admin/realms/{realm}/keys
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
組織
GET /admin/realms/{realm}/organizations
返回根據指定參數篩選的分頁組織清單
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
完全符合 |
布林值,定義參數「search」是否必須完全符合 |
null |
|
first |
要處理的第一個結果的位置(分頁偏移量) |
null |
|
max |
要返回的最大結果數 - 預設值為 10 |
null |
|
q |
以「key1:value2 key2:value2」格式搜尋自訂屬性的查詢 |
null |
|
搜尋 |
代表組織名稱或網域的字串 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/organizations/{id}
刪除組織
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/organizations/{id}
返回組織表示法
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/organizations/{id}/identity-providers/{alias}
從組織中移除具有指定別名的身分提供者
描述
中斷身分提供者與組織之間的關聯。提供者本身不會被刪除。如果找不到提供者,或目前未與組織關聯,則會返回錯誤回應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
||
alias |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/organizations/{id}/identity-providers/{alias}
返回與具有指定別名的組織關聯的身分提供者
描述
搜尋具有指定別名的身分提供者。如果找到一個且與組織關聯,則會返回它。否則,會返回狀態為 NOT_FOUND 的錯誤回應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
||
alias |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/organizations/{id}/identity-providers
返回與組織關聯的所有身分提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/organizations/{id}/identity-providers
將具有指定 ID 的身分提供者新增至組織
描述
新增或關聯現有的身分提供者與組織。如果找不到身分提供者,或它已與組織關聯,則會返回錯誤回應
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/organizations/{id}/members/count
返回組織中的成員數。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/organizations/{id}/members
返回根據指定參數篩選的分頁組織成員清單
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
完全符合 |
布林值,定義參數「search」是否必須完全符合 |
null |
|
first |
要處理的第一個結果的位置(分頁偏移量) |
null |
|
max |
要返回的最大結果數。預設值為 10 |
null |
|
搜尋 |
代表成員的使用者名稱、電子郵件、名字或姓氏的字串。 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[MemberRepresentation] |
DELETE /admin/realms/{realm}/organizations/{id}/members/{id}
從組織中移除具有指定 ID 的使用者
描述
中斷使用者與組織之間的關聯。如果會員資格為受管理,則會刪除使用者本身,否則不會刪除使用者。如果找不到使用者,或他們不是組織的成員,則會返回錯誤回應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/organizations/{id}/members/{id}
返回具有指定 ID 的組織成員
描述
搜尋具有指定 ID 的使用者。如果找到一個且目前為組織的成員,則返回它。否則,會返回狀態為 NOT_FOUND 的錯誤回應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/organizations/{id}/members/{id}/organizations
返回與具有指定 ID 的使用者關聯的組織
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/organizations/{id}/members/invite-existing-user
使用指定的使用者 ID 邀請現有使用者加入組織
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
表單參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
id |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
POST /admin/realms/{realm}/organizations/{id}/members/invite-user
根據提供的電子郵件地址,邀請現有使用者或傳送註冊連結給新使用者。
描述
如果具有指定電子郵件地址的使用者存在,則傳送邀請連結,否則傳送註冊連結。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
POST /admin/realms/{realm}/organizations/{id}/members
將具有指定 ID 的使用者新增為組織的成員
描述
新增或關聯現有使用者與組織。如果找不到使用者,或它已與組織關聯,則會返回錯誤回應
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
PUT /admin/realms/{realm}/organizations/{id}
更新組織
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
OrganizationRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/organizations/members/{id}/organizations
返回與具有指定 ID 的使用者關聯的組織
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/organizations
建立新的組織
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
OrganizationRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
協定對應器
POST /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/add-models
建立多個對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models
取得對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}
刪除對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
id |
對應器 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}
依 ID 取得對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
id |
對應器 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models/{id}
更新對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
id |
對應器 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/models
建立對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/protocol-mappers/protocol/{protocol}
依名稱取得特定通訊協定的對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
通訊協定 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/add-models
建立多個對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models
取得對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}
刪除對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
id |
對應器 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}
依 ID 取得對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
id |
對應器 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models/{id}
更新對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
id |
對應器 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/models
建立對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/protocol-mappers/protocol/{protocol}
依名稱取得特定通訊協定的對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
通訊協定 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/add-models
建立多個對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models
取得對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}
刪除對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
id |
對應器 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}
依 ID 取得對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
id |
對應器 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models/{id}
更新對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
id |
對應器 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/models
建立對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ProtocolMapperRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/protocol-mappers/protocol/{protocol}
依名稱取得特定通訊協定的對應器
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
通訊協定 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
Realm 管理
GET /admin/realms
取得可存取的 realm。返回可存取 realm 的清單。該清單會根據呼叫者允許檢視的 realm 進行篩選。
參數
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
false |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[RealmRepresentation] |
POST /admin/realms
匯入 realm。從該 realm 的完整表示法匯入 realm。
描述
Realm 名稱必須是唯一的。
參數
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
主體 |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
201 |
已建立 |
<<>> |
DELETE /admin/realms/{realm}/admin-events
刪除所有管理員事件
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/admin-events
取得管理員事件。返回所有管理員事件,或根據此處列出的 URL 查詢參數篩選事件
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[AdminEventRepresentation] |
POST /admin/realms/{realm}/client-description-converter
在此 realm 下匯入用戶端的基礎路徑。
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/client-policies/policies
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
include-global-policies |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/client-policies/policies
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientPoliciesRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-policies/profiles
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
include-global-profiles |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/client-policies/profiles
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientProfilesRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/client-session-stats
取得用戶端工作階段統計資料。返回 JSON 對應。
描述
索引鍵是用戶端 ID,值是目前與該用戶端作用中的工作階段數。只有實際上有與之關聯工作階段的用戶端才會在此對應中。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[string]] |
GET /admin/realms/{realm}/client-types
列出目前 realm 中可用的所有用戶端類型
描述
此端點返回全域和 realm 層級用戶端類型的清單及其設定的屬性
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/client-types
更新用戶端類型
描述
此端點允許您更新 realm 層級的用戶端類型
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ClientTypesRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/credential-registrators
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[string]] |
DELETE /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/default-default-client-scopes
取得 realm 預設用戶端範圍。僅返回名稱和 ID。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[用戶端範圍表示法] |
GET /admin/realms/{realm}/default-groups
取得群組階層。只傳回名稱和 ID。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[群組表示法] |
DELETE /admin/realms/{realm}/default-groups/{groupId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
groupId |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/default-groups/{groupId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
groupId |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
DELETE /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/default-optional-client-scopes
取得 realm 選用用戶端範圍。僅返回名稱和 ID。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[用戶端範圍表示法] |
DELETE /admin/realms/{realm}
刪除 realm
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/events/config
取得事件提供者組態。返回包含事件提供者組態的 JSON 物件
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/events/config
描述
更新事件提供者。變更事件提供者和/或其組態
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RealmEventsConfigRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
DELETE /admin/realms/{realm}/events
刪除所有事件
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/events
取得事件。返回所有事件,或根據此處列出的 URL 查詢參數篩選事件
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
client |
應用程式或 OAuth 用戶端名稱 |
null |
|
dateFrom |
起始日期 |
null |
|
dateTo |
結束日期 |
null |
|
first |
分頁偏移量 |
null |
|
ipAddress |
IP 位址 |
null |
|
max |
最大結果大小(預設為 100) |
null |
|
類型 |
要返回的事件類型 [String] |
null |
|
user |
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}
取得領域的頂層表示。它不包含巢狀資訊,如使用者和客戶端表示。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/group-by-path/{path}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
路徑 |
null |
/.*/ |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/localization
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[string]] |
DELETE /admin/realms/{realm}/localization/{locale}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
地區設定 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/localization/{locale}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
地區設定 |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
useRealmDefaultLocaleFallback |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
Map[[string]] |
DELETE /admin/realms/{realm}/localization/{locale}/{key}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
金鑰 |
null |
||
地區設定 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/localization/{locale}/{key}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
金鑰 |
null |
||
地區設定 |
null |
內容類型
-
text/plain
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/localization/{locale}/{key}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
金鑰 |
null |
||
地區設定 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
主體 |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/localization/{locale}
從上傳的 JSON 檔案匯入本地化
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
地區設定 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
request_body |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/logout-all
移除所有使用者工作階段。
描述
任何具有管理員 URL 的客戶端也會被告知使其擁有的任何工作階段失效。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
POST /admin/realms/{realm}/partial-export
將現有領域部分匯出為 JSON 檔案。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
exportClients |
null |
||
exportGroupsAndRoles |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
POST /admin/realms/{realm}/partialImport
從 JSON 檔案部分匯入到現有領域。
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
POST /admin/realms/{realm}/push-revocation
將領域的撤銷策略推送到任何與其關聯的管理員 URL 的客戶端。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}
更新領域的頂層資訊。表示中的任何使用者、角色或客戶端資訊都將被忽略。
描述
這只會更新領域的頂層屬性。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RealmRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
DELETE /admin/realms/{realm}/sessions/{session}
移除特定使用者工作階段。
描述
任何具有管理員 URL 的客戶端也會被告知使此特定工作階段失效。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
工作階段 |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
isOffline |
false |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/testSMTPConnection
使用目前登入的使用者測試 SMTP 連線
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/users-management-permissions
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/users-management-permissions
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ManagementPermissionReference |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
角色對應器
GET /admin/realms/{realm}/groups/{group-id}/role-mappings
取得角色對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm/available
取得可對應的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm/composite
取得有效的領域級別角色對應。這將遞迴所有複合角色以取得結果。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/groups/{group-id}/role-mappings/realm
刪除領域級別的角色對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/groups/{group-id}/role-mappings/realm
取得領域級別角色對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/groups/{group-id}/role-mappings/realm
將領域級別的角色對應新增至使用者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
group-id |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/role-mappings
取得角色對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/available
取得可對應的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite
取得有效的領域級別角色對應。這將遞迴所有複合角色以取得結果。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/users/{user-id}/role-mappings/realm
刪除領域級別的角色對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm
取得領域級別角色對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/users/{user-id}/role-mappings/realm
將領域級別的角色對應新增至使用者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
角色
GET /admin/realms/{realm}/clients/{client-uuid}/roles
取得領域或客戶端的所有角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
true |
||
first |
null |
||
max |
null |
||
搜尋 |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/clients/{client-uuid}/roles
為領域或客戶端建立新角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/clients/{client-uuid}
取得角色複合中客戶端的客戶端級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
null |
||
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites
從角色的複合中移除角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites
取得角色的複合
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites
將複合新增至角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/composites/realm
取得角色複合的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}
依名稱刪除角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}
依名稱取得角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/groups
傳回具有指定角色名稱的群組串流
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱。 |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回 {@code GroupRepresentation} 物件的完整表示。 |
true |
|
first |
要傳回的第一個結果。如果為負數或 {@code null},則忽略。 |
null |
|
max |
要傳回的最大結果數。如果為負數或 {@code null},則忽略。 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[群組表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/management/permissions
傳回物件,指出角色授權權限是否已初始化,以及參考
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/management/permissions
傳回物件,指出角色授權權限是否已初始化,以及參考
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ManagementPermissionReference |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}
依名稱更新角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}/users
傳回具有指定角色名稱的使用者串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
角色名稱 |
角色名稱。 |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
布林值,定義是否返回簡短表示法(預設值:false) |
null |
|
first |
要傳回的第一個結果。如果為負數或 {@code null},則忽略。 |
null |
|
max |
要傳回的最大結果數。如果為負數或 {@code null},則忽略。 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[UserRepresentation] |
GET /admin/realms/{realm}/roles
取得領域或客戶端的所有角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
true |
||
first |
null |
||
max |
null |
||
搜尋 |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/roles
為領域或客戶端建立新角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/roles/{role-name}/composites/clients/{client-uuid}
取得角色複合中客戶端的客戶端級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
null |
||
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/roles/{role-name}/composites
從角色的複合中移除角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/roles/{role-name}/composites
取得角色的複合
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/roles/{role-name}/composites
將複合新增至角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/roles/{role-name}/composites/realm
取得角色複合的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/roles/{role-name}
依名稱刪除角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/roles/{role-name}
依名稱取得角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/roles/{role-name}/groups
傳回具有指定角色名稱的群組串流
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱。 |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回 {@code GroupRepresentation} 物件的完整表示。 |
true |
|
first |
要傳回的第一個結果。如果為負數或 {@code null},則忽略。 |
null |
|
max |
要傳回的最大結果數。如果為負數或 {@code null},則忽略。 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[群組表示法] |
GET /admin/realms/{realm}/roles/{role-name}/management/permissions
傳回物件,指出角色授權權限是否已初始化,以及參考
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/roles/{role-name}/management/permissions
傳回物件,指出角色授權權限是否已初始化,以及參考
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ManagementPermissionReference |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/roles/{role-name}
依名稱更新角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱(不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/roles/{role-name}/users
傳回具有指定角色名稱的使用者串流。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色名稱 |
角色名稱。 |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
布林值,定義是否返回簡短表示法(預設值:false) |
null |
|
first |
要傳回的第一個結果。如果為負數或 {@code null},則忽略。 |
null |
|
max |
要傳回的最大結果數。如果為負數或 {@code null},則忽略。 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[UserRepresentation] |
角色 (依 ID)
GET /admin/realms/{realm}/roles-by-id/{role-id}/composites/clients/{clientUuid}
取得角色複合中客戶端的客戶端級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
clientUuid |
null |
||
角色 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/roles-by-id/{role-id}/composites
從角色的複合中移除一組角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
角色 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/roles-by-id/{role-id}/composites
取得角色的子項。如果角色為複合角色,則傳回一組角色的子項。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
first |
null |
||
max |
null |
||
搜尋 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/roles-by-id/{role-id}/composites
透過關聯一些子角色,使角色成為複合角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/roles-by-id/{role-id}/composites/realm
取得角色複合中的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/roles-by-id/{role-id}
刪除角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
角色 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/roles-by-id/{role-id}
取得特定角色的表示
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
角色 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/roles-by-id/{role-id}/management/permissions
傳回物件,指出角色授權權限是否已初始化,以及參考
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/roles-by-id/{role-id}/management/permissions
傳回物件,指出角色授權權限是否已初始化,以及參考
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
ManagementPermissionReference |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/roles-by-id/{role-id}
更新角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
角色 ID |
角色 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
範圍對應
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/available
可用的客戶端級別角色。傳回可與客戶端範圍關聯的客戶端角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}/composite
取得有效的客戶端角色。傳回與客戶端範圍關聯的客戶端角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}
從客戶端的範圍移除客戶端級別的角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}
取得與客戶端範圍關聯的角色。傳回客戶端的角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/clients/{client}
將客戶端級別的角色新增至客戶端的範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings
取得客戶端的所有範圍對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/available
取得可附加到此客戶端範圍的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm/composite
取得與客戶端範圍關聯的有效領域級別角色。這會遞迴任何與客戶端範圍關聯的複合角色,並將角色新增至此清單。
描述
該方法實際上是顯示與客戶端關聯的領域級別角色的全面總體檢視。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm
從客戶端範圍中移除一組領域級別的角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm
取得與客戶端範圍關聯的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm
將一組領域級別角色新增至客戶端的範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/available
可用的客戶端級別角色。傳回可與客戶端範圍關聯的客戶端角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}/composite
取得有效的客戶端角色。傳回與客戶端範圍關聯的客戶端角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}
從客戶端的範圍移除客戶端級別的角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}
取得與客戶端範圍關聯的角色。傳回客戶端的角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/clients/{client}
將客戶端級別的角色新增至客戶端的範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
||
client |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings
取得客戶端的所有範圍對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/available
取得可附加到此客戶端範圍的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm/composite
取得與客戶端範圍關聯的有效領域級別角色。這會遞迴任何與客戶端範圍關聯的複合角色,並將角色新增至此清單。
描述
該方法實際上是顯示與客戶端關聯的領域級別角色的全面總體檢視。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm
從客戶端範圍中移除一組領域級別的角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm
取得與客戶端範圍關聯的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/client-templates/{client-scope-id}/scope-mappings/realm
將一組領域級別角色新增至客戶端的範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
用戶端範圍 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/available
可用的客戶端級別角色。傳回可與客戶端範圍關聯的客戶端角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
client |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}/composite
取得有效的客戶端角色。傳回與客戶端範圍關聯的客戶端角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
client |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}
從客戶端的範圍移除客戶端級別的角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
client |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}
取得與客戶端範圍關聯的角色。傳回客戶端的角色。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
client |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/clients/{client}
將客戶端級別的角色新增至客戶端的範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
|
client |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings
取得客戶端的所有範圍對應
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/available
取得可附加到此客戶端範圍的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm/composite
取得與客戶端範圍關聯的有效領域級別角色。這會遞迴任何與客戶端範圍關聯的複合角色,並將角色新增至此清單。
描述
該方法實際上是顯示與客戶端關聯的領域級別角色的全面總體檢視。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
如果為 false,則傳回具有其屬性的角色 |
true |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
DELETE /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm
從客戶端範圍中移除一組領域級別的角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm
取得與客戶端範圍關聯的領域級別角色
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[角色表示法] |
POST /admin/realms/{realm}/clients/{client-uuid}/scope-mappings/realm
將一組領域級別角色新增至客戶端的範圍
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
client-uuid |
用戶端的 ID (不是用戶端 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
RoleRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
使用者
GET /admin/realms/{realm}/users/count
傳回符合給定條件的使用者數。
描述
它可以透過三種不同的方式呼叫。1. 不指定任何條件並傳遞 {@code null}。將傳回該領域內所有使用者的數量。 <p> 2. 如果指定 {@code search},則其他條件(例如 {@code last})將被忽略,即使您設定它們。{@code search} 字串將與使用者的名字和姓氏、使用者名稱和電子郵件進行比對。 <p> 3. 如果未指定 {@code search},但指定了 {@code last}、{@code first}、{@code email} 或 {@code username} 中的任何一個,則這些條件將與使用者實體上的各自欄位進行比對。與邏輯和結合。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
電子郵件 |
電子郵件篩選器 |
null |
|
emailVerified |
null |
||
已啟用 |
表示使用者是否已啟用的布林值 |
null |
|
名字 |
名字篩選器 |
null |
|
姓氏 |
姓氏篩選器 |
null |
|
q |
null |
||
搜尋 |
以下所有欄位的任意搜尋字串。預設搜尋行為是基於前綴的(例如,foo 或 foo*)。使用 foo 進行中綴搜尋,並使用 "foo" 進行精確搜尋。 |
null |
|
使用者名稱 |
使用者名稱篩選器 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/users
取得使用者。傳回使用者串流,根據查詢參數進行篩選。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
布林值,定義是否返回簡短表示法(預設值:false) |
null |
|
電子郵件 |
包含在電子郵件中的字串,或完整的電子郵件(如果參數 "exact" 為 true) |
null |
|
emailVerified |
電子郵件是否已驗證 |
null |
|
已啟用 |
表示使用者是否已啟用的布林值 |
null |
|
完全符合 |
布林值,定義參數 "last"、"first"、"email" 和 "username" 是否必須完全符合 |
null |
|
first |
分頁偏移量 |
null |
|
名字 |
包含在名字中的字串,或完整名字(如果參數 "exact" 為 true) |
null |
|
idpAlias |
連結至使用者的身分提供者別名 |
null |
|
idpUserId |
連結至使用者的身分提供者使用者 ID |
null |
|
姓氏 |
包含在姓氏中的字串,或完整姓氏(如果參數 "exact" 為 true) |
null |
|
max |
最大結果大小(預設為 100) |
null |
|
q |
以「key1:value2 key2:value2」格式搜尋自訂屬性的查詢 |
null |
|
搜尋 |
包含在使用者名稱、名字或姓氏或電子郵件中的字串。預設搜尋行為是基於前綴的(例如,foo 或 foo*)。使用 foo 進行中綴搜尋,並使用 "foo" 進行精確搜尋。 |
null |
|
使用者名稱 |
包含在使用者名稱中的字串,或完整使用者名稱(如果參數 "exact" 為 true) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[UserRepresentation] |
POST /admin/realms/{realm}/users
建立新使用者。使用者名稱必須是唯一的。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
UserRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/users/profile
描述
取得使用者設定檔的組態
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/users/profile/metadata
描述
從組態取得 UserProfileMetadata
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
PUT /admin/realms/{realm}/users/profile
描述
設定使用者設定檔的組態
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/users/{user-id}/configured-user-storage-credential-types
傳回憑證類型,這些類型由儲存使用者的使用者儲存空間提供。
描述
傳回值可能包含例如「password」、「otp」等。對於沒有任何使用者儲存空間支援的「local」使用者,這將始終傳回空列表。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[string]] |
DELETE /admin/realms/{realm}/users/{user-id}/consents/{client}
撤銷特定用戶端對使用者的同意和離線權杖
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
client |
用戶端 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/consents
取得使用者授予的同意
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[[AnyType]] |
DELETE /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}
移除使用者的憑證
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
credentialId |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveAfter/{newPreviousCredentialId}
將憑證移動到另一個憑證之後的位置
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
credentialId |
要移動的憑證 |
null |
|
newPreviousCredentialId |
將成為列表中前一個元素的憑證。如果設定為 null,則移動的憑證將成為列表中的第一個元素。 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveToFirst
將憑證移動到使用者憑證列表中的第一個位置
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
credentialId |
要移動的憑證 |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/userLabel
更新使用者的憑證標籤
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
credentialId |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
主體 |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/credentials
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
List[CredentialRepresentation] |
DELETE /admin/realms/{realm}/users/{user-id}
刪除使用者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
PUT /admin/realms/{realm}/users/{user-id}/disable-credential-types
停用特定類型使用者的所有憑證
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
string |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/users/{user-id}/execute-actions-email
向使用者發送一封電子郵件,其中包含使用者可以點擊以執行特定操作的連結。
描述
電子郵件包含一個連結,使用者可以點擊該連結來執行一組必要的操作。redirectUri 和 clientId 參數是可選的。如果沒有提供重新導向,那麼在操作完成後將沒有連結返回點擊。重新導向 URI 必須是特定 clientId 的有效 URI。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
string |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
client_id |
用戶端 ID |
null |
|
lifespan |
產生權杖過期前的秒數 |
null |
|
redirect_uri |
重新導向 URI |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/federated-identity
取得與使用者關聯的社群登入
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
DELETE /admin/realms/{realm}/users/{user-id}/federated-identity/{provider}
從使用者中移除社群登入提供者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
provider |
社群登入提供者 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/users/{user-id}/federated-identity/{provider}
將社群登入提供者新增至使用者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
provider |
社群登入提供者 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/users/{user-id}
取得使用者的表示形式
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
userProfileMetadata |
指出是否應將使用者設定檔中繼資料新增至回應中 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
GET /admin/realms/{realm}/users/{user-id}/groups/count
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
搜尋 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
地圖[[長整數]] |
GET /admin/realms/{realm}/users/{user-id}/groups
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
briefRepresentation |
true |
||
first |
null |
||
max |
null |
||
搜尋 |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[群組表示法] |
DELETE /admin/realms/{realm}/users/{user-id}/groups/{groupId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
groupId |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/users/{user-id}/groups/{groupId}
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
groupId |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
POST /admin/realms/{realm}/users/{user-id}/impersonation
模擬使用者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
Map[<<>>] |
POST /admin/realms/{realm}/users/{user-id}/logout
移除與使用者關聯的所有使用者工作階段。同時向所有具有管理 URL 的用戶端發送通知,以使特定使用者的工作階段失效。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/offline-sessions/{clientUuid}
取得與使用者和用戶端關聯的離線工作階段
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
||
clientUuid |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[使用者工作階段表示法] |
PUT /admin/realms/{realm}/users/{user-id}
更新使用者
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
UserRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
PUT /admin/realms/{realm}/users/{user-id}/reset-password-email
向使用者發送一封電子郵件,其中包含使用者可以點擊以重設其密碼的連結。
描述
redirectUri 和 clientId 參數是可選的。重新導向的預設值是帳戶用戶端。此端點已棄用。請使用 execute-actions-email 傳遞包含 UPDATE_PASSWORD 的列表。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
client_id |
用戶端 ID |
null |
|
redirect_uri |
重新導向 URI |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
PUT /admin/realms/{realm}/users/{user-id}/reset-password
為使用者設定新的密碼。
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
Body 參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
CredentialRepresentation |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
204 |
無內容 |
<<>> |
PUT /admin/realms/{realm}/users/{user-id}/send-verify-email
向使用者發送電子郵件驗證郵件。電子郵件包含一個連結,使用者可以點擊該連結來驗證其電子郵件地址。
描述
redirectUri、clientId 和 lifespan 參數是可選的。重新導向的預設值是帳戶用戶端。lifespan 的預設值是 12 小時
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
查詢參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
client_id |
用戶端 ID |
null |
|
lifespan |
產生權杖過期前的秒數 |
null |
|
redirect_uri |
重新導向 URI |
null |
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
<<>> |
GET /admin/realms/{realm}/users/{user-id}/sessions
取得與使用者關聯的工作階段
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
列表[使用者工作階段表示法] |
GET /admin/realms/{realm}/users/{user-id}/unmanagedAttributes
參數
路徑參數
名稱 | 描述 | 預設值 | 模式 |
---|---|---|---|
realm |
realm 名稱 (不是 ID!) |
null |
|
使用者 ID |
null |
內容類型
-
application/json
回應
代碼 | 訊息 | 資料類型 |
---|---|---|
200 |
OK |
Map[[string]] |
定義
AbstractPolicyRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
描述 |
字串 |
|
類型 |
字串 |
|
原則 |
[字串] 的集合 |
|
資源 |
[字串] 的集合 |
|
範圍 |
[字串] 的集合 |
|
邏輯 |
Logic |
|
決策策略 |
DecisionStrategy |
|
擁有者 |
字串 |
|
resourcesData |
||
scopesData |
存取
名稱 | 類型 | 格式 |
---|---|---|
角色 |
[字串] 的集合 |
|
verify_caller |
布林值 |
AccessToken
名稱 | 類型 | 格式 |
---|---|---|
jti |
字串 |
|
exp |
長整數 |
int64 |
nbf |
長整數 |
int64 |
iat |
長整數 |
int64 |
iss |
字串 |
|
sub |
字串 |
|
typ |
字串 |
|
azp |
字串 |
|
其他宣告 |
[AnyType] 的對應 |
|
nonce |
字串 |
|
auth_time |
長整數 |
int64 |
sid |
字串 |
|
at_hash |
字串 |
|
c_hash |
字串 |
|
名稱 |
字串 |
|
given_name |
字串 |
|
family_name |
字串 |
|
middle_name |
字串 |
|
nickname |
字串 |
|
preferred_username |
字串 |
|
profile |
字串 |
|
picture |
字串 |
|
website |
字串 |
|
電子郵件 |
字串 |
|
email_verified |
布林值 |
|
gender |
字串 |
|
birthdate |
字串 |
|
zoneinfo |
字串 |
|
地區設定 |
字串 |
|
phone_number |
字串 |
|
phone_number_verified |
布林值 |
|
address |
AddressClaimSet |
|
updated_at |
長整數 |
int64 |
claims_locales |
字串 |
|
acr |
字串 |
|
s_hash |
字串 |
|
trusted-certs |
[字串] 的集合 |
|
allowed-origins |
[字串] 的集合 |
|
realm_access |
存取 |
|
resource_access |
Access 的對應 |
|
authorization |
授權 |
|
cnf |
Confirmation |
|
範圍 |
字串 |
AddressClaimSet
名稱 | 類型 | 格式 |
---|---|---|
formatted |
字串 |
|
street_address |
字串 |
|
locality |
字串 |
|
region |
字串 |
|
postal_code |
字串 |
|
country |
字串 |
AdminEventRepresentation
名稱 | 類型 | 格式 |
---|---|---|
time |
長整數 |
int64 |
realmId |
字串 |
|
authDetails |
AuthDetailsRepresentation |
|
operationType |
字串 |
|
resourceType |
字串 |
|
resourcePath |
字串 |
|
representation |
字串 |
|
error |
字串 |
ApplicationRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
用戶端 ID |
字串 |
|
描述 |
字串 |
|
類型 |
字串 |
|
rootUrl |
字串 |
|
adminUrl |
字串 |
|
baseUrl |
字串 |
|
surrogateAuthRequired |
布林值 |
|
已啟用 |
布林值 |
|
alwaysDisplayInConsole |
布林值 |
|
clientAuthenticatorType |
字串 |
|
secret |
字串 |
|
registrationAccessToken |
字串 |
|
defaultRoles |
[字串] 的列表 |
|
redirectUris |
[字串] 的列表 |
|
webOrigins |
[字串] 的列表 |
|
notBefore |
整數 |
int32 |
bearerOnly |
布林值 |
|
consentRequired |
布林值 |
|
standardFlowEnabled |
布林值 |
|
implicitFlowEnabled |
布林值 |
|
directAccessGrantsEnabled |
布林值 |
|
serviceAccountsEnabled |
布林值 |
|
authorizationServicesEnabled |
布林值 |
|
directGrantsOnly |
布林值 |
|
publicClient |
布林值 |
|
frontchannelLogout |
布林值 |
|
通訊協定 |
字串 |
|
attributes |
[字串] 的對應 |
|
authenticationFlowBindingOverrides |
[字串] 的對應 |
|
fullScopeAllowed |
布林值 |
|
nodeReRegistrationTimeout |
整數 |
int32 |
registeredNodes |
[整數] 的對應 |
int32 |
protocolMappers |
||
clientTemplate |
字串 |
|
useTemplateConfig |
布林值 |
|
useTemplateScope |
布林值 |
|
useTemplateMappers |
布林值 |
|
defaultClientScopes |
[字串] 的列表 |
|
optionalClientScopes |
[字串] 的列表 |
|
authorizationSettings |
ResourceServerRepresentation |
|
access |
[布林值] 的對應 |
|
origin |
字串 |
|
名稱 |
字串 |
|
claims |
ApplicationRepresentation_claims |
ApplicationRepresentationClaims
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
布林值 |
|
使用者名稱 |
布林值 |
|
profile |
布林值 |
|
picture |
布林值 |
|
website |
布林值 |
|
電子郵件 |
布林值 |
|
gender |
布林值 |
|
地區設定 |
布林值 |
|
address |
布林值 |
|
phone |
布林值 |
AuthDetailsRepresentation
名稱 | 類型 | 格式 |
---|---|---|
realmId |
字串 |
|
用戶端 ID |
字串 |
|
userId |
字串 |
|
ipAddress |
字串 |
AuthenticationExecutionExportRepresentation
名稱 | 類型 | 格式 |
---|---|---|
authenticatorConfig |
字串 |
|
authenticator |
字串 |
|
authenticatorFlow |
布林值 |
|
requirement |
字串 |
|
priority |
整數 |
int32 |
autheticatorFlow |
布林值 |
|
flowAlias |
字串 |
|
userSetupAllowed |
布林值 |
AuthenticationExecutionInfoRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
requirement |
字串 |
|
displayName |
字串 |
|
alias |
字串 |
|
描述 |
字串 |
|
requirementChoices |
[字串] 的列表 |
|
configurable |
布林值 |
|
authenticationFlow |
布林值 |
|
providerId |
字串 |
|
authenticationConfig |
字串 |
|
flowId |
字串 |
|
level |
整數 |
int32 |
index |
整數 |
int32 |
priority |
整數 |
int32 |
AuthenticationExecutionRepresentation
名稱 | 類型 | 格式 |
---|---|---|
authenticatorConfig |
字串 |
|
authenticator |
字串 |
|
authenticatorFlow |
布林值 |
|
requirement |
字串 |
|
priority |
整數 |
int32 |
autheticatorFlow |
布林值 |
|
id |
字串 |
|
flowId |
字串 |
|
parentFlow |
字串 |
AuthenticationFlowRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
alias |
字串 |
|
描述 |
字串 |
|
providerId |
字串 |
|
topLevel |
布林值 |
|
builtIn |
布林值 |
|
authenticationExecutions |
AuthenticatorConfigInfoRepresentation
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
providerId |
字串 |
|
helpText |
字串 |
|
properties |
AuthenticatorConfigRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
alias |
字串 |
|
config |
[字串] 的對應 |
授權
名稱 | 類型 | 格式 |
---|---|---|
permissions |
Permission 的列表 |
BruteForceStrategy
名稱 | 類型 | 格式 |
---|
CertificateRepresentation
名稱 | 類型 | 格式 |
---|---|---|
privateKey |
字串 |
|
publicKey |
字串 |
|
certificate |
字串 |
|
kid |
字串 |
ClaimRepresentation
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
布林值 |
|
使用者名稱 |
布林值 |
|
profile |
布林值 |
|
picture |
布林值 |
|
website |
布林值 |
|
電子郵件 |
布林值 |
|
gender |
布林值 |
|
地區設定 |
布林值 |
|
address |
布林值 |
|
phone |
布林值 |
ClientInitialAccessCreatePresentation
名稱 | 類型 | 格式 |
---|---|---|
expiration |
整數 |
int32 |
count |
整數 |
int32 |
ClientInitialAccessPresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
token |
字串 |
|
timestamp |
整數 |
int32 |
expiration |
整數 |
int32 |
count |
整數 |
int32 |
remainingCount |
整數 |
int32 |
ClientMappingsRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
client |
字串 |
|
mappings |
ClientPoliciesRepresentation
名稱 | 類型 | 格式 |
---|---|---|
原則 |
||
globalPolicies |
ClientPolicyConditionRepresentation
名稱 | 類型 | 格式 |
---|---|---|
condition |
字串 |
|
configuration |
列表 |
ClientPolicyExecutorRepresentation
名稱 | 類型 | 格式 |
---|---|---|
executor |
字串 |
|
configuration |
列表 |
ClientPolicyRepresentation
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
描述 |
字串 |
|
已啟用 |
布林值 |
|
conditions |
||
profiles |
[字串] 的列表 |
ClientProfileRepresentation
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
描述 |
字串 |
|
executors |
ClientProfilesRepresentation
名稱 | 類型 | 格式 |
---|---|---|
profiles |
||
globalProfiles |
ClientRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
用戶端 ID |
字串 |
|
名稱 |
字串 |
|
描述 |
字串 |
|
類型 |
字串 |
|
rootUrl |
字串 |
|
adminUrl |
字串 |
|
baseUrl |
字串 |
|
surrogateAuthRequired |
布林值 |
|
已啟用 |
布林值 |
|
alwaysDisplayInConsole |
布林值 |
|
clientAuthenticatorType |
字串 |
|
secret |
字串 |
|
registrationAccessToken |
字串 |
|
defaultRoles |
[字串] 的列表 |
|
redirectUris |
[字串] 的列表 |
|
webOrigins |
[字串] 的列表 |
|
notBefore |
整數 |
int32 |
bearerOnly |
布林值 |
|
consentRequired |
布林值 |
|
standardFlowEnabled |
布林值 |
|
implicitFlowEnabled |
布林值 |
|
directAccessGrantsEnabled |
布林值 |
|
serviceAccountsEnabled |
布林值 |
|
authorizationServicesEnabled |
布林值 |
|
directGrantsOnly |
布林值 |
|
publicClient |
布林值 |
|
frontchannelLogout |
布林值 |
|
通訊協定 |
字串 |
|
attributes |
[字串] 的對應 |
|
authenticationFlowBindingOverrides |
[字串] 的對應 |
|
fullScopeAllowed |
布林值 |
|
nodeReRegistrationTimeout |
整數 |
int32 |
registeredNodes |
[整數] 的對應 |
int32 |
protocolMappers |
||
clientTemplate |
字串 |
|
useTemplateConfig |
布林值 |
|
useTemplateScope |
布林值 |
|
useTemplateMappers |
布林值 |
|
defaultClientScopes |
[字串] 的列表 |
|
optionalClientScopes |
[字串] 的列表 |
|
authorizationSettings |
ResourceServerRepresentation |
|
access |
[布林值] 的對應 |
|
origin |
字串 |
ClientScopeRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
描述 |
字串 |
|
通訊協定 |
字串 |
|
attributes |
[字串] 的對應 |
|
protocolMappers |
ClientTemplateRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
描述 |
字串 |
|
通訊協定 |
字串 |
|
fullScopeAllowed |
布林值 |
|
bearerOnly |
布林值 |
|
consentRequired |
布林值 |
|
standardFlowEnabled |
布林值 |
|
implicitFlowEnabled |
布林值 |
|
directAccessGrantsEnabled |
布林值 |
|
serviceAccountsEnabled |
布林值 |
|
publicClient |
布林值 |
|
frontchannelLogout |
布林值 |
|
attributes |
[字串] 的對應 |
|
protocolMappers |
ClientTypeRepresentation
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
provider |
字串 |
|
父項 |
字串 |
|
config |
PropertyConfig 的對應 |
ClientTypesRepresentation
名稱 | 類型 | 格式 |
---|---|---|
client-types |
||
global-client-types |
ComponentExportRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
providerId |
字串 |
|
subType |
字串 |
|
subComponents |
[陣列] 的對應 |
|
config |
[陣列] 的對應 |
ComponentRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
providerId |
字串 |
|
providerType |
字串 |
|
parentId |
字串 |
|
subType |
字串 |
|
config |
[陣列] 的對應 |
ComponentTypeRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
helpText |
字串 |
|
properties |
||
metadata |
[AnyType] 的對應 |
ConfigPropertyRepresentation
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
label |
字串 |
|
helpText |
字串 |
|
類型 |
字串 |
|
defaultValue |
oas_any_type_not_mapped |
|
options |
[字串] 的列表 |
|
secret |
布林值 |
|
必要 |
布林值 |
|
readOnly |
布林值 |
Confirmation
名稱 | 類型 | 格式 |
---|---|---|
x5t#S256 |
字串 |
|
jkt |
字串 |
CredentialRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
類型 |
字串 |
|
userLabel |
字串 |
|
createdDate |
長整數 |
int64 |
secretData |
字串 |
|
credentialData |
字串 |
|
priority |
整數 |
int32 |
value |
字串 |
|
temporary |
布林值 |
|
device |
字串 |
|
hashedSaltedValue |
字串 |
|
salt |
字串 |
|
hashIterations |
整數 |
int32 |
counter |
整數 |
int32 |
algorithm |
字串 |
|
digits |
整數 |
int32 |
period |
整數 |
int32 |
config |
對應 |
DecisionEffect
名稱 | 類型 | 格式 |
---|
DecisionStrategy
名稱 | 類型 | 格式 |
---|
EnforcementMode
名稱 | 類型 | 格式 |
---|
EvaluationResultRepresentation
名稱 | 類型 | 格式 |
---|---|---|
資源 |
ResourceRepresentation |
|
範圍 |
||
原則 |
||
status |
DecisionEffect |
|
allowedScopes |
EventRepresentation
名稱 | 類型 | 格式 |
---|---|---|
time |
長整數 |
int64 |
類型 |
字串 |
|
realmId |
字串 |
|
用戶端 ID |
字串 |
|
userId |
字串 |
|
sessionId |
字串 |
|
ipAddress |
字串 |
|
error |
字串 |
|
details |
[字串] 的對應 |
FederatedIdentityRepresentation
名稱 | 類型 | 格式 |
---|---|---|
identityProvider |
字串 |
|
userId |
字串 |
|
userName |
字串 |
GroupRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
路徑 |
字串 |
|
parentId |
字串 |
|
subGroupCount |
長整數 |
int64 |
subGroups |
||
attributes |
[陣列] 的對應 |
|
realmRoles |
[字串] 的列表 |
|
clientRoles |
[陣列] 的對應 |
|
access |
[布林值] 的對應 |
IDToken
名稱 | 類型 | 格式 |
---|---|---|
jti |
字串 |
|
exp |
長整數 |
int64 |
nbf |
長整數 |
int64 |
iat |
長整數 |
int64 |
iss |
字串 |
|
sub |
字串 |
|
typ |
字串 |
|
azp |
字串 |
|
其他宣告 |
[AnyType] 的對應 |
|
nonce |
字串 |
|
auth_time |
長整數 |
int64 |
sid |
字串 |
|
at_hash |
字串 |
|
c_hash |
字串 |
|
名稱 |
字串 |
|
given_name |
字串 |
|
family_name |
字串 |
|
middle_name |
字串 |
|
nickname |
字串 |
|
preferred_username |
字串 |
|
profile |
字串 |
|
picture |
字串 |
|
website |
字串 |
|
電子郵件 |
字串 |
|
email_verified |
布林值 |
|
gender |
字串 |
|
birthdate |
字串 |
|
zoneinfo |
字串 |
|
地區設定 |
字串 |
|
phone_number |
字串 |
|
phone_number_verified |
布林值 |
|
address |
AddressClaimSet |
|
updated_at |
長整數 |
int64 |
claims_locales |
字串 |
|
acr |
字串 |
|
s_hash |
字串 |
IdentityProviderMapperRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
identityProviderAlias |
字串 |
|
identityProviderMapper |
字串 |
|
config |
[字串] 的對應 |
IdentityProviderMapperTypeRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
category |
字串 |
|
helpText |
字串 |
|
properties |
IdentityProviderRepresentation
名稱 | 類型 | 格式 |
---|---|---|
alias |
字串 |
|
displayName |
字串 |
|
internalId |
字串 |
|
providerId |
字串 |
|
已啟用 |
布林值 |
|
updateProfileFirstLoginMode |
字串 |
|
trustEmail |
布林值 |
|
storeToken |
布林值 |
|
addReadTokenRoleOnCreate |
布林值 |
|
authenticateByDefault |
布林值 |
|
linkOnly |
布林值 |
|
hideOnLogin |
布林值 |
|
firstBrokerLoginFlowAlias |
字串 |
|
postBrokerLoginFlowAlias |
字串 |
|
organizationId |
字串 |
|
config |
[字串] 的對應 |
|
updateProfileFirstLogin |
布林值 |
InstallationAdapterConfig
名稱 | 類型 | 格式 |
---|---|---|
realm |
字串 |
|
realm-public-key |
字串 |
|
auth-server-url |
字串 |
|
ssl-required |
字串 |
|
bearer-only |
布林值 |
|
資源 |
字串 |
|
public-client |
布林值 |
|
verify-token-audience |
布林值 |
|
credentials |
[AnyType] 的對應 |
|
use-resource-role-mappings |
布林值 |
|
confidential-port |
整數 |
int32 |
policy-enforcer |
PolicyEnforcerConfig |
KeyMetadataRepresentation
名稱 | 類型 | 格式 |
---|---|---|
providerId |
字串 |
|
providerPriority |
長整數 |
int64 |
kid |
字串 |
|
status |
字串 |
|
類型 |
字串 |
|
algorithm |
字串 |
|
publicKey |
字串 |
|
certificate |
字串 |
|
use |
KeyUse |
|
validTo |
長整數 |
int64 |
KeyStoreConfig
名稱 | 類型 | 格式 |
---|---|---|
realmCertificate |
布林值 |
|
storePassword |
字串 |
|
keyPassword |
字串 |
|
keyAlias |
字串 |
|
realmAlias |
字串 |
|
格式 |
字串 |
KeyUse
名稱 | 類型 | 格式 |
---|
KeysMetadataRepresentation
名稱 | 類型 | 格式 |
---|---|---|
active |
[字串] 的對應 |
|
keys |
Logic
名稱 | 類型 | 格式 |
---|
ManagementPermissionReference
名稱 | 類型 | 格式 |
---|---|---|
已啟用 |
布林值 |
|
資源 |
字串 |
|
scopePermissions |
[字串] 的對應 |
MappingsRepresentation
名稱 | 類型 | 格式 |
---|---|---|
realmMappings |
||
clientMappings |
MemberRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
使用者名稱 |
字串 |
|
名字 |
字串 |
|
姓氏 |
字串 |
|
電子郵件 |
字串 |
|
emailVerified |
布林值 |
|
attributes |
[陣列] 的對應 |
|
userProfileMetadata |
UserProfileMetadata |
|
self |
字串 |
|
origin |
字串 |
|
createdTimestamp |
長整數 |
int64 |
已啟用 |
布林值 |
|
totp |
布林值 |
|
federationLink |
字串 |
|
serviceAccountClientId |
字串 |
|
credentials |
||
disableableCredentialTypes |
[字串] 的集合 |
|
requiredActions |
[字串] 的列表 |
|
federatedIdentities |
||
realmRoles |
[字串] 的列表 |
|
clientRoles |
[陣列] 的對應 |
|
clientConsents |
||
notBefore |
整數 |
int32 |
applicationRoles |
[陣列] 的對應 |
|
socialLinks |
||
groups |
[字串] 的列表 |
|
access |
[布林值] 的對應 |
|
membershipType |
MembershipType |
MembershipType
名稱 | 類型 | 格式 |
---|
MethodConfig
名稱 | 類型 | 格式 |
---|---|---|
method |
字串 |
|
範圍 |
[字串] 的列表 |
|
scopes-enforcement-mode |
ScopeEnforcementMode |
OAuthClientRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
用戶端 ID |
字串 |
|
描述 |
字串 |
|
類型 |
字串 |
|
rootUrl |
字串 |
|
adminUrl |
字串 |
|
baseUrl |
字串 |
|
surrogateAuthRequired |
布林值 |
|
已啟用 |
布林值 |
|
alwaysDisplayInConsole |
布林值 |
|
clientAuthenticatorType |
字串 |
|
secret |
字串 |
|
registrationAccessToken |
字串 |
|
defaultRoles |
[字串] 的列表 |
|
redirectUris |
[字串] 的列表 |
|
webOrigins |
[字串] 的列表 |
|
notBefore |
整數 |
int32 |
bearerOnly |
布林值 |
|
consentRequired |
布林值 |
|
standardFlowEnabled |
布林值 |
|
implicitFlowEnabled |
布林值 |
|
directAccessGrantsEnabled |
布林值 |
|
serviceAccountsEnabled |
布林值 |
|
authorizationServicesEnabled |
布林值 |
|
directGrantsOnly |
布林值 |
|
publicClient |
布林值 |
|
frontchannelLogout |
布林值 |
|
通訊協定 |
字串 |
|
attributes |
[字串] 的對應 |
|
authenticationFlowBindingOverrides |
[字串] 的對應 |
|
fullScopeAllowed |
布林值 |
|
nodeReRegistrationTimeout |
整數 |
int32 |
registeredNodes |
[整數] 的對應 |
int32 |
protocolMappers |
||
clientTemplate |
字串 |
|
useTemplateConfig |
布林值 |
|
useTemplateScope |
布林值 |
|
useTemplateMappers |
布林值 |
|
defaultClientScopes |
[字串] 的列表 |
|
optionalClientScopes |
[字串] 的列表 |
|
authorizationSettings |
ResourceServerRepresentation |
|
access |
[布林值] 的對應 |
|
origin |
字串 |
|
名稱 |
字串 |
|
claims |
ApplicationRepresentation_claims |
OrganizationDomainRepresentation
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
verified |
布林值 |
OrganizationRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
alias |
字串 |
|
已啟用 |
布林值 |
|
描述 |
字串 |
|
redirectUrl |
字串 |
|
attributes |
[陣列] 的對應 |
|
domains |
||
members |
||
identityProviders |
PathCacheConfig
名稱 | 類型 | 格式 |
---|---|---|
max-entries |
整數 |
int32 |
lifespan |
長整數 |
int64 |
PathConfig
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
類型 |
字串 |
|
路徑 |
字串 |
|
methods |
MethodConfig 的列表 |
|
範圍 |
[字串] 的列表 |
|
id |
字串 |
|
enforcement-mode |
EnforcementMode |
|
claim-information-point |
[對應] 的對應 |
|
invalidated |
布林值 |
|
staticPath |
布林值 |
|
static |
布林值 |
PolicyEnforcementMode
名稱 | 類型 | 格式 |
---|
PolicyEnforcerConfig
名稱 | 類型 | 格式 |
---|---|---|
enforcement-mode |
EnforcementMode |
|
paths |
PathConfig 的列表 |
|
path-cache |
PathCacheConfig |
|
lazy-load-paths |
布林值 |
|
on-deny-redirect-to |
字串 |
|
user-managed-access |
物件 |
|
claim-information-point |
[對應] 的對應 |
|
http-method-as-scope |
布林值 |
|
realm |
字串 |
|
auth-server-url |
字串 |
|
credentials |
[AnyType] 的對應 |
|
資源 |
字串 |
PolicyEvaluationRequest
名稱 | 類型 | 格式 |
---|---|---|
context |
[對應] 的對應 |
|
資源 |
||
用戶端 ID |
字串 |
|
userId |
字串 |
|
roleIds |
[字串] 的列表 |
|
entitlements |
布林值 |
PolicyEvaluationResponse
名稱 | 類型 | 格式 |
---|---|---|
results |
||
entitlements |
布林值 |
|
status |
DecisionEffect |
|
rpt |
AccessToken |
PolicyProviderRepresentation
名稱 | 類型 | 格式 |
---|---|---|
類型 |
字串 |
|
名稱 |
字串 |
|
group |
字串 |
PolicyRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
描述 |
字串 |
|
類型 |
字串 |
|
原則 |
[字串] 的集合 |
|
資源 |
[字串] 的集合 |
|
範圍 |
[字串] 的集合 |
|
邏輯 |
Logic |
|
決策策略 |
DecisionStrategy |
|
擁有者 |
字串 |
|
resourcesData |
||
scopesData |
||
config |
[字串] 的對應 |
PolicyResultRepresentation
名稱 | 類型 | 格式 |
---|---|---|
policy |
PolicyRepresentation |
|
status |
DecisionEffect |
|
associatedPolicies |
||
範圍 |
[字串] 的集合 |
PropertyConfig
名稱 | 類型 | 格式 |
---|---|---|
applicable |
布林值 |
|
value |
oas_any_type_not_mapped |
ProtocolMapperEvaluationRepresentation
名稱 | 類型 | 格式 |
---|---|---|
mapperId |
字串 |
|
mapperName |
字串 |
|
containerId |
字串 |
|
containerName |
字串 |
|
containerType |
字串 |
|
protocolMapper |
字串 |
ProtocolMapperRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
通訊協定 |
字串 |
|
protocolMapper |
字串 |
|
consentRequired |
布林值 |
|
consentText |
字串 |
|
config |
[字串] 的對應 |
PublishedRealmRepresentation
名稱 | 類型 | 格式 |
---|---|---|
realm |
字串 |
|
public_key |
字串 |
|
token-service |
字串 |
|
account-service |
字串 |
|
tokens-not-before |
整數 |
int32 |
RealmEventsConfigRepresentation
名稱 | 類型 | 格式 |
---|---|---|
eventsEnabled |
布林值 |
|
eventsExpiration |
長整數 |
int64 |
eventsListeners |
[字串] 的列表 |
|
enabledEventTypes |
[字串] 的列表 |
|
adminEventsEnabled |
布林值 |
|
adminEventsDetailsEnabled |
布林值 |
RealmRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
realm |
字串 |
|
displayName |
字串 |
|
displayNameHtml |
字串 |
|
notBefore |
整數 |
int32 |
defaultSignatureAlgorithm |
字串 |
|
revokeRefreshToken |
布林值 |
|
refreshTokenMaxReuse |
整數 |
int32 |
accessTokenLifespan |
整數 |
int32 |
accessTokenLifespanForImplicitFlow |
整數 |
int32 |
ssoSessionIdleTimeout |
整數 |
int32 |
ssoSessionMaxLifespan |
整數 |
int32 |
ssoSessionIdleTimeoutRememberMe |
整數 |
int32 |
ssoSessionMaxLifespanRememberMe |
整數 |
int32 |
offlineSessionIdleTimeout |
整數 |
int32 |
offlineSessionMaxLifespanEnabled |
布林值 |
|
offlineSessionMaxLifespan |
整數 |
int32 |
clientSessionIdleTimeout |
整數 |
int32 |
clientSessionMaxLifespan |
整數 |
int32 |
clientOfflineSessionIdleTimeout |
整數 |
int32 |
clientOfflineSessionMaxLifespan |
整數 |
int32 |
accessCodeLifespan |
整數 |
int32 |
accessCodeLifespanUserAction |
整數 |
int32 |
accessCodeLifespanLogin |
整數 |
int32 |
actionTokenGeneratedByAdminLifespan |
整數 |
int32 |
actionTokenGeneratedByUserLifespan |
整數 |
int32 |
oauth2DeviceCodeLifespan |
整數 |
int32 |
oauth2DevicePollingInterval |
整數 |
int32 |
已啟用 |
布林值 |
|
sslRequired |
字串 |
|
passwordCredentialGrantAllowed |
布林值 |
|
registrationAllowed |
布林值 |
|
registrationEmailAsUsername |
布林值 |
|
rememberMe |
布林值 |
|
verifyEmail |
布林值 |
|
loginWithEmailAllowed |
布林值 |
|
duplicateEmailsAllowed |
布林值 |
|
resetPasswordAllowed |
布林值 |
|
editUsernameAllowed |
布林值 |
|
userCacheEnabled |
布林值 |
|
realmCacheEnabled |
布林值 |
|
bruteForceProtected |
布林值 |
|
permanentLockout |
布林值 |
|
maxTemporaryLockouts |
整數 |
int32 |
bruteForceStrategy |
BruteForceStrategy |
|
maxFailureWaitSeconds |
整數 |
int32 |
minimumQuickLoginWaitSeconds |
整數 |
int32 |
waitIncrementSeconds |
整數 |
int32 |
quickLoginCheckMilliSeconds |
長整數 |
int64 |
maxDeltaTimeSeconds |
整數 |
int32 |
failureFactor |
整數 |
int32 |
privateKey |
字串 |
|
publicKey |
字串 |
|
certificate |
字串 |
|
codeSecret |
字串 |
|
角色 |
RolesRepresentation |
|
groups |
||
defaultRoles |
[字串] 的列表 |
|
defaultRole |
RoleRepresentation |
|
defaultGroups |
[字串] 的列表 |
|
requiredCredentials |
[字串] 的集合 |
|
passwordPolicy |
字串 |
|
otpPolicyType |
字串 |
|
otpPolicyAlgorithm |
字串 |
|
otpPolicyInitialCounter |
整數 |
int32 |
otpPolicyDigits |
整數 |
int32 |
otpPolicyLookAheadWindow |
整數 |
int32 |
otpPolicyPeriod |
整數 |
int32 |
otpPolicyCodeReusable |
布林值 |
|
otpSupportedApplications |
[字串] 的列表 |
|
localizationTexts |
[對應] 的對應 |
|
webAuthnPolicyRpEntityName |
字串 |
|
webAuthnPolicySignatureAlgorithms |
[字串] 的列表 |
|
webAuthnPolicyRpId |
字串 |
|
webAuthnPolicyAttestationConveyancePreference |
字串 |
|
webAuthnPolicyAuthenticatorAttachment |
字串 |
|
webAuthnPolicyRequireResidentKey |
字串 |
|
webAuthnPolicyUserVerificationRequirement |
字串 |
|
webAuthnPolicyCreateTimeout |
整數 |
int32 |
webAuthnPolicyAvoidSameAuthenticatorRegister |
布林值 |
|
webAuthnPolicyAcceptableAaguids |
[字串] 的列表 |
|
webAuthnPolicyExtraOrigins |
[字串] 的列表 |
|
webAuthnPolicyPasswordlessRpEntityName |
字串 |
|
webAuthnPolicyPasswordlessSignatureAlgorithms |
[字串] 的列表 |
|
webAuthnPolicyPasswordlessRpId |
字串 |
|
webAuthnPolicyPasswordlessAttestationConveyancePreference |
字串 |
|
webAuthnPolicyPasswordlessAuthenticatorAttachment |
字串 |
|
webAuthnPolicyPasswordlessRequireResidentKey |
字串 |
|
webAuthnPolicyPasswordlessUserVerificationRequirement |
字串 |
|
webAuthnPolicyPasswordlessCreateTimeout |
整數 |
int32 |
webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister |
布林值 |
|
webAuthnPolicyPasswordlessAcceptableAaguids |
[字串] 的列表 |
|
webAuthnPolicyPasswordlessExtraOrigins |
[字串] 的列表 |
|
clientProfiles |
ClientProfilesRepresentation |
|
clientPolicies |
ClientPoliciesRepresentation |
|
users |
使用者表示法列表 UserRepresentation |
|
federatedUsers |
使用者表示法列表 UserRepresentation |
|
scopeMappings |
範圍映射表示法列表 ScopeMappingRepresentation |
|
clientScopeMappings |
[陣列] 的對應 |
|
clients |
客戶端表示法列表 ClientRepresentation |
|
clientScopes |
客戶端範圍表示法列表 ClientScopeRepresentation |
|
defaultDefaultClientScopes |
[字串] 的列表 |
|
defaultOptionalClientScopes |
[字串] 的列表 |
|
browserSecurityHeaders |
[字串] 的對應 |
|
smtpServer |
[字串] 的對應 |
|
userFederationProviders |
使用者聯合供應商表示法列表 UserFederationProviderRepresentation |
|
userFederationMappers |
使用者聯合映射器表示法列表 UserFederationMapperRepresentation |
|
loginTheme |
字串 |
|
accountTheme |
字串 |
|
adminTheme |
字串 |
|
emailTheme |
字串 |
|
eventsEnabled |
布林值 |
|
eventsExpiration |
長整數 |
int64 |
eventsListeners |
[字串] 的列表 |
|
enabledEventTypes |
[字串] 的列表 |
|
adminEventsEnabled |
布林值 |
|
adminEventsDetailsEnabled |
布林值 |
|
identityProviders |
||
identityProviderMappers |
身分供應商映射器表示法列表 IdentityProviderMapperRepresentation |
|
protocolMappers |
||
components |
[陣列] 的對應 |
|
internationalizationEnabled |
布林值 |
|
supportedLocales |
[字串] 的集合 |
|
defaultLocale |
字串 |
|
authenticationFlows |
驗證流程表示法列表 AuthenticationFlowRepresentation |
|
authenticatorConfig |
驗證器配置表示法列表 AuthenticatorConfigRepresentation |
|
requiredActions |
必要動作供應商表示法列表 RequiredActionProviderRepresentation |
|
browserFlow |
字串 |
|
registrationFlow |
字串 |
|
directGrantFlow |
字串 |
|
resetCredentialsFlow |
字串 |
|
clientAuthenticationFlow |
字串 |
|
dockerAuthenticationFlow |
字串 |
|
firstBrokerLoginFlow |
字串 |
|
attributes |
[字串] 的對應 |
|
keycloakVersion |
字串 |
|
userManagedAccessAllowed |
布林值 |
|
organizationsEnabled |
布林值 |
|
organizations |
組織表示法列表 OrganizationRepresentation |
|
social |
布林值 |
|
updateProfileOnInitialSocialLogin |
布林值 |
|
socialProviders |
[字串] 的對應 |
|
applicationScopeMappings |
[陣列] 的對應 |
|
applications |
應用程式表示法列表 ApplicationRepresentation |
|
oauthClients |
OAuth 客戶端表示法列表 OAuthClientRepresentation |
|
clientTemplates |
客戶端範本表示法列表 ClientTemplateRepresentation |
|
oAuth2DeviceCodeLifespan |
整數 |
int32 |
oAuth2DevicePollingInterval |
整數 |
int32 |
RequiredActionConfigInfoRepresentation
名稱 | 類型 | 格式 |
---|---|---|
properties |
RequiredActionConfigRepresentation
名稱 | 類型 | 格式 |
---|---|---|
config |
[字串] 的對應 |
RequiredActionProviderRepresentation
名稱 | 類型 | 格式 |
---|---|---|
alias |
字串 |
|
名稱 |
字串 |
|
providerId |
字串 |
|
已啟用 |
布林值 |
|
defaultAction |
布林值 |
|
priority |
整數 |
int32 |
config |
[字串] 的對應 |
ResourceOwnerRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
ResourceRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
uris |
[字串] 的集合 |
|
類型 |
字串 |
|
範圍 |
||
icon_uri |
字串 |
|
擁有者 |
ResourceRepresentation_owner |
|
ownerManagedAccess |
布林值 |
|
displayName |
字串 |
|
attributes |
[陣列] 的對應 |
|
URI |
字串 |
|
scopesUma |
ResourceRepresentationOwner
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
ResourceServerRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
用戶端 ID |
字串 |
|
名稱 |
字串 |
|
allowRemoteResourceManagement |
布林值 |
|
policyEnforcementMode |
PolicyEnforcementMode |
|
資源 |
||
原則 |
原則表示法列表 PolicyRepresentation |
|
範圍 |
||
決策策略 |
DecisionStrategy |
RoleRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
描述 |
字串 |
|
scopeParamRequired |
布林值 |
|
composite |
布林值 |
|
composites |
Composites |
|
clientRole |
布林值 |
|
containerId |
字串 |
|
attributes |
[陣列] 的對應 |
ScopeEnforcementMode
名稱 | 類型 | 格式 |
---|
ScopeMappingRepresentation
名稱 | 類型 | 格式 |
---|---|---|
self |
字串 |
|
client |
字串 |
|
clientTemplate |
字串 |
|
clientScope |
字串 |
|
角色 |
[字串] 的集合 |
ScopeRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
iconUri |
字串 |
|
原則 |
原則表示法列表 PolicyRepresentation |
|
資源 |
||
displayName |
字串 |
SocialLinkRepresentation
名稱 | 類型 | 格式 |
---|---|---|
socialProvider |
字串 |
|
socialUserId |
字串 |
|
socialUsername |
字串 |
UPAttribute
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
displayName |
字串 |
|
validations |
[對應] 的對應 |
|
annotations |
[AnyType] 的對應 |
|
必要 |
UPAttributeRequired |
|
permissions |
UPAttributePermissions |
|
selector |
UPAttributeSelector |
|
group |
字串 |
|
multivalued |
布林值 |
UPAttributeSelector
名稱 | 類型 | 格式 |
---|---|---|
範圍 |
[字串] 的集合 |
UPConfig
名稱 | 類型 | 格式 |
---|---|---|
attributes |
UP屬性列表 UPAttribute |
|
groups |
UP群組列表 UPGroup |
|
unmanagedAttributePolicy |
UnmanagedAttributePolicy |
UPGroup
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
displayHeader |
字串 |
|
displayDescription |
字串 |
|
annotations |
[AnyType] 的對應 |
UnmanagedAttributePolicy
名稱 | 類型 | 格式 |
---|
UserConsentRepresentation
名稱 | 類型 | 格式 |
---|---|---|
用戶端 ID |
字串 |
|
grantedClientScopes |
[字串] 的列表 |
|
createdDate |
長整數 |
int64 |
lastUpdatedDate |
長整數 |
int64 |
grantedRealmRoles |
[字串] 的列表 |
UserFederationMapperRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
名稱 |
字串 |
|
federationProviderDisplayName |
字串 |
|
federationMapperType |
字串 |
|
config |
[字串] 的對應 |
UserFederationProviderRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
displayName |
字串 |
|
providerName |
字串 |
|
config |
[字串] 的對應 |
|
priority |
整數 |
int32 |
fullSyncPeriod |
整數 |
int32 |
changedSyncPeriod |
整數 |
int32 |
lastSync |
整數 |
int32 |
UserProfileAttributeGroupMetadata
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
displayHeader |
字串 |
|
displayDescription |
字串 |
|
annotations |
[AnyType] 的對應 |
UserProfileAttributeMetadata
名稱 | 類型 | 格式 |
---|---|---|
名稱 |
字串 |
|
displayName |
字串 |
|
必要 |
布林值 |
|
readOnly |
布林值 |
|
annotations |
[AnyType] 的對應 |
|
validators |
[對應] 的對應 |
|
group |
字串 |
|
multivalued |
布林值 |
UserProfileMetadata
名稱 | 類型 | 格式 |
---|---|---|
attributes |
使用者設定檔屬性元數據列表 UserProfileAttributeMetadata |
|
groups |
使用者設定檔屬性群組元數據列表 UserProfileAttributeGroupMetadata |
UserRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
使用者名稱 |
字串 |
|
名字 |
字串 |
|
姓氏 |
字串 |
|
電子郵件 |
字串 |
|
emailVerified |
布林值 |
|
attributes |
[陣列] 的對應 |
|
userProfileMetadata |
UserProfileMetadata |
|
self |
字串 |
|
origin |
字串 |
|
createdTimestamp |
長整數 |
int64 |
已啟用 |
布林值 |
|
totp |
布林值 |
|
federationLink |
字串 |
|
serviceAccountClientId |
字串 |
|
credentials |
||
disableableCredentialTypes |
[字串] 的集合 |
|
requiredActions |
[字串] 的列表 |
|
federatedIdentities |
||
realmRoles |
[字串] 的列表 |
|
clientRoles |
[陣列] 的對應 |
|
clientConsents |
||
notBefore |
整數 |
int32 |
applicationRoles |
[陣列] 的對應 |
|
socialLinks |
||
groups |
[字串] 的列表 |
|
access |
[布林值] 的對應 |
UserSessionRepresentation
名稱 | 類型 | 格式 |
---|---|---|
id |
字串 |
|
使用者名稱 |
字串 |
|
userId |
字串 |
|
ipAddress |
字串 |
|
start |
長整數 |
int64 |
lastAccess |
長整數 |
int64 |
rememberMe |
布林值 |
|
clients |
[字串] 的對應 |
|
transientUser |
布林值 |