# IdentityRoleCreateDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Used when creating a new role within the identity system. Includes role visibility, default behavior, and type information.

## Fields
- `name` (string) required: The display name of the role. (min length 5, max length 50)
- `isDefault` (boolean): Indicates whether this role is automatically assigned to new users by default.
- `isPublic` (boolean): Determines whether the role can be publicly assigned or referenced by non-admin users.
- `roleType` ([RoleType](https://devportal.demo.winkpg.io/docs/api/models/RoleType.md)): Specifies the type of role, such as standard or system-defined. (nullable)
  Values:
  - `Reseller`
  - `Merchant`

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
