Remove-RubrikAPIToken

SYNOPSIS

Removes a Rubrik API Token.

SYNTAX

Remove-RubrikAPIToken [-TokenId] <Array> [[-Server] <String>] [[-api] <String>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

The Remove-RubrikAPIToken cmdlet is used to remove an API Token from the Rubrik cluster.

EXAMPLES

EXAMPLE 1

Remove-RubrikAPIToken -TokenId "11111111-2222-3333-4444-555555555555"

This will remove the API Token matching id "11111111-2222-3333-4444-555555555555".

EXAMPLE 2

This will remove the API Tokens matching id values "11111111-2222-3333-4444-555555555555" and "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" in one request.

PARAMETERS

-TokenId

API Token ID value(s). For multiple ID values, encase the values in parenthesis and separate each ID with a comma. See the examples for more details.

-Server

Rubrik server IP or FQDN

-api

API version

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

-Confirm

Prompts you for confirmation before running the cmdlet.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Written by Chris Wahl for community usage Twitter: @ChrisWahl GitHub: chriswahl

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/remove-rubrikapitoken

Last updated

Was this helpful?