This should be returning the list of connectors for the authorized user. Instead, it is returning a 401. Running this command in Postman results in a 200 status. It's possible the CLI is using the wrong token to make the request. The request should be made with either an organization token or an application token. Update the CLI command with the following options:
If user types prvd connectors list a menu should be presented that prompts the user to select whether to retrieve connectors for an (A)pplication, an (O)rganization, or (H)elp.
If user selects A, they should select an Application from their list of Applications and the request should be made using that Application's JWT
If user selects O, they should select an Organization from their list of Organizations and the request should be made using that Organization's JWT
If user selects H, the result should display a list of available commands and flags, including prvd connectors list --organization string and prvd connectors list --application string
This should be returning the list of connectors for the authorized user. Instead, it is returning a 401. Running this command in Postman results in a 200 status. It's possible the CLI is using the wrong token to make the request. The request should be made with either an
organization
token or anapplication
token. Update the CLI command with the following options:If user types
prvd connectors list
a menu should be presented that prompts the user to select whether to retrieve connectors for an (A)pplication, an (O)rganization, or (H)elp.prvd connectors list --organization string
andprvd connectors list --application string