Role Service Commands
The following table lists the role service commands.
Table 17-1 Role Service Commands
| Request | Append to Path /role/v{1|2} | Description |
|---|---|---|
|
GET |
Use only /role/v{1|2} |
List the role service commands |
|
GET |
/roles |
List all roles |
|
GET |
/roles/role |
List the properties of the specified role |
|
POST |
/roles |
Create a new role |
|
PUT |
/roles/role |
Modify the properties of the specified role |
|
PUT |
/roles/role/revoke |
Remove the specified role from all users |
|
DELETE |
/roles/role |
Destroy the specified role |
|
GET |
/roles/role/authorizations |
List all authorizations for the specified role |
|
GET |
/roles/role/authorizations/auth |
List the properties of the specified role authorization |
|
POST |
/roles/role/authorizations |
Create a new authorization for the specified role |
|
PUT |
/roles/role/authorizations/auth |
Modify the properties of the specified role authorization |
|
DELETE |
/roles/role/authorizations/auth |
Destroy the specified role authorization |