List roles available to account
GET {{baseUrl}}/api/v2/roles?like=<string>&startsWith=<string>&showLimit=<integer>&fromName=<string>
Lists the roles available to the user's account
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
like | string | Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. | |
startsWith | string | Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. | |
showLimit | string | Query parameter to limit the maximum number of rows returned by a command. | |
fromName | string | Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"name":"\u003cstring\u003e","comment":"\u003cstring\u003e","created_on":"\u003cdateTime\u003e","is_default":"\u003cboolean\u003e","is_current":"\u003cboolean\u003e","is_inherited":"\u003cboolean\u003e","assigned_to_users":"\u003clong\u003e","granted_to_roles":"\u003clong\u003e","granted_roles":"\u003clong\u003e","owner":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","comment":"\u003cstring\u003e","created_on":"\u003cdateTime\u003e","is_default":"\u003cboolean\u003e","is_current":"\u003cboolean\u003e","is_inherited":"\u003cboolean\u003e","assigned_to_users":"\u003clong\u003e","granted_to_roles":"\u003clong\u003e","granted_roles":"\u003clong\u003e","owner":"\u003cstring\u003e"}]