1. Home
  2. ...
  3. Listing (ssd api-management list)
  4. Roles Listing (ssd api-management list roles)

Roles Listing (ssd api-management list roles)

The `ssd api-management list roles` command allows you to list the access roles available on Sensedia API Platform.
NOTE

You can use the ssd api-management list roles command or its shortened version ssd apim list roles.

Usage

The ssd api-management list roles command can be followed by flags with their respective arguments:

If no flag is specified, all available roles will be listed and the display type will be the one specified in the configuration file (see ssd configure).

Available flags

The following flags can be used with the ssd api-management list roles command:

Flag
Type
Description
-h, --helpDisplays help for the command
-n, --permissionNamestringLists only roles that have permission for a specific functionality. E.g.: --permissionName "APIS"
-t, --permissionTypestringFilters the list of roles by access type. E.g.: --permissionType "VIEW", --permissionType "EDIT"
-o, --outputstringSpecifies the display type of the information. E.g.: -o json, -o table
-p, --pageintSpecifies from which page to display the information. E.g.: --page 1
-q, --querystringFilters the information to be returned. E.g.: --query "Admin"
-s, --sizeintNumber of resources to be listed. E.g.: --size 100

Global Flags

Flag
Type
Description
-c, --configstringConfiguration file (default: $HOME/.sensedia/config.json)
--profilestringThe configuration profile you want to use (default: "default")
--verboseLists all requests made by the command. It is possible to store this information in a TXT file instead of displaying it on the terminal. E.g.: $ ssd (api-management | apim) list apis --verbose 2> log.txt

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more