參數

參數名字 描述
id
必填

Validations:

  • Must be a String

role
必填

Validations:

  • Must be a Hash

role[name]
選填

Validations:

  • Must be a String

role[description]
選填 , 允許空值

Role description

Validations:

  • Must be a String

role[location_ids]
選填 , 允許空值

將位置取代為特定 ID

Validations:

  • Must be an array of any type

role[organization_ids]
選填 , 允許空值

將組織取代為特定 ID。

Validations:

  • Must be an array of any type