GET /api/realms
領域清單

參數

參數名字 描述
search
選填

篩選結果


Value:

Must be String

order
選填

排序結果


Value:

Must be String

page
選填

編頁結果


Value:

Must be String

per_page
選填

每個請求的項目數量


Value:

Must be String


GET /api/realms/:id
顯示領域

參數

參數名字 描述
id
必填

數字 ID 或領域名稱


Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/realms
建立領域

The name field is used for the name of the realm.

參數

參數名字 描述
realm
必填

Value:

Must be a Hash

realm[name]
必填

領域名稱,例如 EXAMPLE.COM


Value:

Must be String

realm[realm_proxy_id]
必填 , 允許空值

使用於此領域的代理伺服器


Value:

Must be a number.

realm[realm_type]
必填

領域類型,例如 FreeIPA 或是 Active Directory


Value:

Must be String


PUT /api/realms/:id
更新領域

參數

參數名字 描述
id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

realm
必填

Value:

Must be a Hash

realm[name]
選填

領域名稱,例如 EXAMPLE.COM


Value:

Must be String

realm[realm_proxy_id]
選填 , 允許空值

使用於此領域的代理伺服器


Value:

Must be a number.

realm[realm_type]
選填

領域類型,例如 FreeIPA 或是 Active Directory


Value:

Must be String


DELETE /api/realms/:id
刪除領域

參數

參數名字 描述
id
必填

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.