Skip to main content

Disconnect-AtriaApi

SYNOPSIS

Disconnects from the Atria API and clears the stored session context.

SYNTAX

Disconnect-AtriaApi [<CommonParameters>]

DESCRIPTION

Clears the authentication token, API base URI, and HTTP headers previously established by Connect-AtriaApi, effectively disconnecting from the current Atria API session.

After running this command, subsequent API calls will require a new authentication connection.

PARAMETERS

<CommonParameters>

This cmdlet supports common parameters:
Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable.

For more information, see about_CommonParameters.

OUTPUTS

None.

EXAMPLES

Example 1

PS> Disconnect-AtriaApi

Disconnects and removes the current Atria API session context.

NOTES

After disconnecting, use Connect-AtriaApi to establish a new API session.