- Authentication: The user must be authenticated to perform this action.
- Authentication: The user must be authenticated to perform this action.
Param name | Description |
---|---|
id required |
ID of the role to be displayed. Validations:
|
- Authentication: The user must be authenticated to perform this action. - Admin privileges: The user has to have administrative privileges to perform this action.
Param name | Description |
---|---|
role optional , nil allowed |
Validations:
|
role[name] required |
Name of the role. Validations:
|
role[role_matrix] required |
Capabilities of the role. Validations:
|
- Authentication: The user must be authenticated to perform this action. - Admin privileges: The user has to have administrative privileges to perform this action.
Param name | Description |
---|---|
role optional , nil allowed |
Validations:
|
role[name] optional |
Name of the role. Validations:
|
role[role_matrix] optional |
Capabilities of the role. Validations:
|
- Authentication: The user must be authenticated to perform this action. - Admin privileges: The user has to have administrative privileges to perform this action.
Param name | Description |
---|---|
id required |
ID of the role ti be deleted. Validations:
|