role.delete
The role.delete command deletes a role.
Requires Org-Admin rights.
TR50 Request
{
"cmd": {
"command": "role.delete",
"params": {
"key": "myrolekey"
}
}
}
Request Parameters
Name |
Type |
Required |
Description |
---|---|---|---|
key |
String |
Yes |
The key of the role to delete. |
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
{
"cmd": {
"success": true
}
}