On this page

SHOW API ENVIRONMENT

Core command SHAPIENV

Shows one environment of the connected API in detail: ID, name, base URL and variables.

Syntax

SHOW API ENVIRONMENT [<environment>]

Arguments

ArgumentRequiredValuesDefault
<environment>NoAn environment of the connected APIThe connected environment

Examples

SHOW API ENVIRONMENT;
SHOW API ENVIRONMENT PROD;

Details

The command always works on the API of the CONNECT API session. Without a name, it shows the connected environment; with a name, another environment of the same API. It reads only: CONNECT API alone chooses the active environment, and nothing is saved.

It shows what is needed to understand how ${name}, {{name}} and :name are replaced: the id, name and base URL, and every variable with its value and whether it is enabled. A value flagged as secret is masked, never shown in full.

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.