Create a Role

Creates a new role

The resource_id field within the permissions array is only necessary when the role grants access to a specific environment. For all other permission types, this field should be left blank.

📘

System fields (id, created_by, created_at, and updated_at) will be set automatically. If included in the Create payload, these fields will be discarded.

Language