Our deployment is division based ( we use divisions alot now in the deployments) and when I use gc (version 17.0.0) I only get the home division items. There is no flag for divisions create / update etc
Future release?
Our deployment is division based ( we use divisions alot now in the deployments) and when I use gc (version 17.0.0) I only get the home division items. There is no flag for divisions create / update etc
Future release?
Hi Michael,
The GC CLI is an exact mirror of the public API so all API methods in the API are exposed through the CLI. I'm not sure of the exact endpoints you are referring to but the output of gc authorization divisions
on my v17.0.0 CLI gives the following commands:
$ gc authorization divisions
/api/v2/authorization/divisions
Usage:
gc authorization divisions [command]
Available Commands:
create Create a division.
delete Delete a division.
get Returns an authorization division.
grants /api/v2/authorization/divisions/{divisionId}/grants
home /api/v2/authorization/divisions/home
limit /api/v2/authorization/divisions/limit
list Retrieve a list of all divisions defined for the organization
objects /api/v2/authorization/divisions/{divisionId}/objects
restore /api/v2/authorization/divisions/{divisionId}/restore
update Update a division.
Flags:
-h, --help help for divisions
Global Flags:
--clientid string clientId override
--clientsecret string clientSecret override
--environment string environment override. E.g. mypurecloud.com.au or ap-southeast-2
-i, --indicateprogress Trace progress indicators to stderr
-p, --profile string Name of the profile to use for configuring the cli (default "DEFAULT")
Use "gc authorization divisions [command] --help" for more information about a command
thanks was looking for gc divisions
That's understandable. We made some big changes to the CLI at v13.0.0. Previously, we were manually adding resources and had a fraction of the public API available in the CLI. We changed it to be fully autogenerated and have all commands map to the API paths to make it more complete and intuitive.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.