Skip to content

Confirm-S1APIToken

SYNOPSIS

Validate your SentinelOne API token.

SYNTAX

Confirm-S1APIToken

DESCRIPTION

This function validates your SentinelOne API token. By default, it uses the token saved in your user profile. If the token is not available, it prompts you to configure it using the `Set-S1ModuleConfiguration` function.

EXAMPLES

EXAMPLE 1

Confirm-S1APIToken

Validates the API token saved in your user profile.

EXAMPLE 2

$Token | Confirm-S1APIToken

Validates the API token provided through the pipeline.

EXAMPLE 3

Confirm-S1APIToken -ApiToken "YourApiTokenHere"

Validates the specified API token.

PARAMETERS

INPUTS

OUTPUTS

NOTES