Skip to main content

Create a Role

Create a new role

Request Body
  • name string required

    Name of the new role

  • permissionList object[] required

    Used to provide the list of permissions associated with the role.

  • permission object
  • id int32
  • name string
  • category object
  • id int32
  • name string
  • enabled boolean

    Used to determine if the role is enabled or disabled. If not provided, role will be enabled by default.

  • visibleToAll boolean

    Determines if the role is visible to everyone. if not provided, it will be set to false by default.

Responses

Success


Schema
  • id int32
  • name string
Loading...