POST api/Role/{roleId}/SetDefault
Set the default role to the role specified in the roleId parameter. First removes the default flag from all roles, then sets the flag for the one specified (or none, if null is provided).
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roleId |
If specified, the role to set as the new default. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
None.