The CasC bundle management on Operations Center CLI commands allow users to view the master paths and tokens for all CasC bundles on an Operations Center. They also allow users to assign master paths and regenerate tokens.
Lists all of the available CasC bundles on the Operations Center.
Regenerates the token and returns the new bundle information when successful.
Assigns a new master path and returns the new bundle information when successful.
|In the command examples "admin" is the name of the user attempting to send the request and "https://my-operations-center.com/cjoc/" is the url for the Operations Center. These examples authenticate using an API token.|
|casc-bundle-list||casc-bundle-regenerate-token -b (--bundle-id) <bundle id>||casc-bundle-set-master -b (--bundle-id) <bundle id> -m (--master-path) <master path>|
|Response examples are formatted for better readability.|
array of objects
List of all bundles available on an Operations Center.
Contains two entries in string format wrapped in quotes and separated by newline characters: url and token. The url is the the bundle URL where Operations Center exposes its content. The token is the access token for the bundle.
The Master Path attribute is the full path of the master item in Operations Center. Ex.
The name is the name of the file that contains the CasC bundle. Ex.
The url is the bundle URL where Operations Center exposes its content.
The token is the access token for the bundle.