Examples

POST /api/usergroups/4-usergroup362/external_usergroups
{
  "external_usergroup": {
    "name": "foremanusergroup",
    "auth_source_id": 980190966
  }
}
201
{
  "id": 4,
  "name": "foremanusergroup",
  "auth_source_ldap": {
    "id": 980190966,
    "type": "AuthSourceLdap",
    "name": "auth_source_ldap_275"
  }
}

Params

Param Name Description
location_id
Optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
Optional

Set the current organization context for the request

Validations:

  • Must be a Integer

usergroup_id
Required

ID 또는 사용자 그룹 이름

Validations:

  • Must be a String

external_usergroup
Required

외부 사용자 그룹 정보

Validations:

  • Must be a Hash

external_usergroup[name]
Required

외부 사용자 그룹 이름

Validations:

  • Must be a String

external_usergroup[auth_source_id]
Required

연결된 인증 소스 ID

Validations:

  • Must be a number.