GET /api/auth_source_ldaps
List all authsource ldaps

Params

Param name Description
page
optional

paginate results

Validations:

  • Must be String

per_page
optional

number of entries per request

Validations:

  • Must be String


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

Params

Param name Description
id
required

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.

Params

Param name Description
auth_source_ldap
required

Validations:

  • Must be a Hash

auth_source_ldap[name]
required

Validations:

  • Must be String

auth_source_ldap[host]
required

Validations:

  • Must be String

auth_source_ldap[port]
optional

defaults to 389

Validations:

  • Must be a number.

auth_source_ldap[account]
optional

Validations:

  • Must be String

auth_source_ldap[base_dn]
optional

Validations:

  • Must be String

auth_source_ldap[account_password]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_login]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_firstname]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_lastname]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_mail]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_photo]
optional

Validations:

  • Must be String

auth_source_ldap[onthefly_register]
optional

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

auth_source_ldap[usergroup_sync]
optional

sync external user groups on login

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

auth_source_ldap[tls]
optional

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’


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

Params

Param name Description
id
required

Validations:

  • Must be String

auth_source_ldap
required

Validations:

  • Must be a Hash

auth_source_ldap[name]
optional

Validations:

  • Must be String

auth_source_ldap[host]
optional

Validations:

  • Must be String

auth_source_ldap[port]
optional

defaults to 389

Validations:

  • Must be a number.

auth_source_ldap[account]
optional

Validations:

  • Must be String

auth_source_ldap[base_dn]
optional

Validations:

  • Must be String

auth_source_ldap[account_password]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_login]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_firstname]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_lastname]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_mail]
optional

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_photo]
optional

Validations:

  • Must be String

auth_source_ldap[onthefly_register]
optional

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

auth_source_ldap[usergroup_sync]
optional

sync external user groups on login

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

auth_source_ldap[tls]
optional

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’


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

Params

Param name Description
id
required

Validations:

  • Must be String