GET /api/auth_source_ldaps
List all authsource ldaps

參數

參數名字 描述
page
選填

編頁結果

Validations:

  • Must be String

per_page
選填

每個請求的項目數量

Validations:

  • Must be String


GET /api/auth_source_ldaps/:id
Show an authsource ldap.

參數

參數名字 描述
id
必填

Validations:

  • 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/auth_source_ldaps
Create an auth_source_ldap.

參數

參數名字 描述
auth_source_ldap
必填

Validations:

  • Must be a Hash

auth_source_ldap[name]
必填

Validations:

  • Must be String

auth_source_ldap[host]
必填

Validations:

  • Must be String

auth_source_ldap[port]
選填

defaults to 389

Validations:

  • Must be a number.

auth_source_ldap[account]
選填

Validations:

  • Must be String

auth_source_ldap[base_dn]
選填

Validations:

  • Must be String

auth_source_ldap[account_password]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_login]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_firstname]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_lastname]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_mail]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_photo]
選填

Validations:

  • Must be String

auth_source_ldap[onthefly_register]
選填

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[usergroup_sync]
選填

sync external user groups on login

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[tls]
選填

Validations:

  • Must be 'true' or 'false' or '1' or '0'


PUT /api/auth_source_ldaps/:id
Update an auth_source_ldap.

參數

參數名字 描述
id
必填

Validations:

  • Must be String

auth_source_ldap
必填

Validations:

  • Must be a Hash

auth_source_ldap[name]
選填

Validations:

  • Must be String

auth_source_ldap[host]
選填

Validations:

  • Must be String

auth_source_ldap[port]
選填

defaults to 389

Validations:

  • Must be a number.

auth_source_ldap[account]
選填

Validations:

  • Must be String

auth_source_ldap[base_dn]
選填

Validations:

  • Must be String

auth_source_ldap[account_password]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_login]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_firstname]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_lastname]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_mail]
選填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_photo]
選填

Validations:

  • Must be String

auth_source_ldap[onthefly_register]
選填

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[usergroup_sync]
選填

sync external user groups on login

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[tls]
選填

Validations:

  • Must be 'true' or 'false' or '1' or '0'


DELETE /api/auth_source_ldaps/:id
Delete an auth_source_ldap.

參數

參數名字 描述
id
必填

Validations:

  • Must be String