Session

1 minute readReference

createSession

Creates a session.

This command is deprecated.

Arguments

Argument Name Type Description

expirationDate

String

The date when this session will expire.

serviceAccountName

String

Service account name under for which the webhook session needs to be created for.

timeZone

String

The time zone to use when interpreting expiration date.

Positional arguments

None.

Usage

ec-perl

$cmdr->createSession({<optionals>});

ectool

ectool createSession [optionals]

deleteSession

Deletes a session.

This command is deprecated.

Arguments

Argument Name Type Description

sessionId

String

ID of the session.

Positional arguments

None.

Usage

ec-perl

$cmdr->deleteSession({<optionals>});

ectool

ectool deleteSession [optionals]

getSessions

Retrieves all sessions for a service account.

This command is deprecated.

Arguments

Argument Name Type Description

serviceAccountName

String

Service account name under for which the webhook session needs to be created for.

Positional arguments

None.

Usage

ec-perl

$cmdr->getSessions({<optionals>});

ectool

ectool getSessions [optionals]

loginSso

Sign in to the client with single-sign on (SSO).

Arguments

Argument Name Type Description

code

String

OAuth 2.0 Authorization Code.

samlResponse

String

SAML response.

state

String

OAuth 2.0 state value.

token

String

Token generation.

Positional arguments

None.

Usage

ec-perl

$cmdr->loginSso({<optionals>});

ectool

ectool loginSso [optionals]

modifySession

Modifies a session.

This command is deprecated.

Arguments

Argument Name Type Description

expirationDate

String

The date when this session will expire.

sessionId

String

ID of the session.

timeZone

String

The time zone to use when interpreting expiration date.

Positional arguments

None.

Usage

ec-perl

$cmdr->modifySession({<optionals>});

ectool

ectool modifySession [optionals]