Role - Creates a new role

Creates a new role using the provided Role Model schema.

post
Authorizations
HTTPRequired

Please enter a valid token

Query parameters
versionstringOptional

The requested API version

Default: 1.0
Body

Class for representing the view of role.

roleNamestring | nullableOptional

A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the RoleName property.

canCreatebooleanOptional

A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanCreate property.

canEditbooleanOptional

A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanEdit property.

canExportbooleanOptional

A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanExport property.

canViewbooleanOptional

A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanView property.

Responses
201

Success: New role created successfully.

post
/roles

Last updated