Examples

PUT /api/usergroups/6/external_usergroups/6
{
  "external_usergroup": {
    "name": "foremanusergroup"
  }
}
200
{
  "id": 6,
  "name": "foremanusergroup",
  "auth_source_ldap": {
    "id": 980190968,
    "type": "AuthSourceLdap",
    "name": "auth_source_ldap_277"
  }
}

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 or name of user group

Validations:

  • Must be a String

id
required

ID or name of external user group

Validations:

  • Must be a String

external_usergroup
required

External user group information

Validations:

  • Must be a Hash

external_usergroup[name]
optional

External user group name

Validations:

  • Must be a String

external_usergroup[auth_source_id]
optional

ID of linked authentication source

Validations:

  • Must be a number.