Role permissions REST API
Use this REST API to manage role permissions.
Get all role permissions
| REST API information | Value | Description |
|---|---|---|
| URI | /admin/resources/role_permissions | |
| Method | GET | |
| Returns | 200 | Returns a list of all role permissions |
| 404 | The role permissions list was not found | |
| 500 | Platform System Manager encountered an internal error while processing the request. |
Returns a list of role permissions.
You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.
Response body
[
{
"id": "/admin/resources/role_permissions/b1cfccc4-a261-437f-b6f0-3f11192ccd41",
"created_time_raw": 1470431328801,
"updated_time_raw": 1470431328801,
"resource_type": "cloud_credentials",
"roles": "/admin/resources/roles/0995b098-cfa1-43d0-912f-b073902d24c8",
"is_hidden": "F",
"permissions": 4,
"state": "available",
"isas_rn": 1,
"label_text": "Security Role Permission",
"created_time": "Fri 05 Aug 2016 21:08:48.801 UTC",
"label_key": "pure8505",
"updated_time": "Fri 05 Aug 2016 21:08:48.801 UTC",
"version": "2.2.2.0"
}
]
- created_time
- The time at which the object is created
- id
- The unique ID of the object in the system.
- is_hidden
- Flag indicating if the user groups role is hidden or not
- label_key
- Key for retrieving label for the role permission
- label_text
- Default translated message text
- permissions
- The actions that may be performed on resource
- resource_type
- The type of the resource within the system
- roles
- The URI of an existing role in the system
- state
- The general availability of the object. If "pending" the object has been created but not activated. If "available" the object is active in the system.
- updated_time
- The time at which the object was last updated
Parents:
Get a specific role permissions
| REST API information | Value | Description |
|---|---|---|
| URI | /admin/resources/role_permissions/{id} | |
| Method | GET | |
| Returns | 200 | The role permissions was returned. |
| 404 | The role permissions was not found | |
| 500 | Platform System Manager encountered an internal error while processing the request. |
Returns a single role permissions identified by {id}.
You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.