參數

參數名字 描述
usergroup
必填

Validations:

  • Must be a Hash

usergroup[name]
必填

Validations:

  • Must be a String

usergroup[admin]
選填 , 允許空值

is an admin user group

Validations:

  • Must be one of: true, false, 1, 0

usergroup[user_ids]
選填 , 允許空值

Validations:

  • Must be an array of any type

usergroup[usergroup_ids]
選填 , 允許空值

Validations:

  • Must be an array of any type

usergroup[role_ids]
選填 , 允許空值

Validations:

  • Must be an array of any type