For the complete documentation index, see llms.txt. This page is also available as Markdown.

Revoke-PSUAppToken

SINOPSIS

Revoca un token de aplicación.

SINTAXIS

Revoke-PSUAppToken [-AppTokenToRevoke] <AppToken> [-ComputerName <String>] [-AppToken <String>]
 [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPCIÓN

Revoca un token de aplicación.

EJEMPLOS

Ejemplo 1

PS C:\> $AppToken = Get-UAAppToken -Id 1
PS C:\> Revoke-UAAppToken -AppTokenToRevoke $AppToken

Revoca el token de aplicación 1.

PARÁMETROS

-AppToken

Un token de aplicación para acceder a la API de PSU.

-AppTokenToRevoke

El token de aplicación que se va a revocar.

-ComputerName

La dirección HTTP del servidor de la API REST de PSU.

-Integrated

Ejecuta el comando internamente en lugar de usar la Management API. Solo funciona al ejecutar el script desde PowerShell Universal.

-UseDefaultCredentials

Usar las credenciales predeterminadas al conectarse a la Management API

-Credential

Credenciales para iniciar sesión en la PowerShell Universal Management API.

-TrustCertificate

Si el cmdlet debe ignorar los problemas de certificado.

-Cookies

Reutiliza y conserva las cookies de autenticación de la sesión actual de PowerShell.

CommonParameters

Este cmdlet admite los parámetros comunes: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable y -ProgressAction. Para más información, consulte about_CommonParameters.

ENTRADAS

UniversalAutomation.AppToken

SALIDAS

System.Object

NOTAS

ENLACES RELACIONADOS

Última actualización

¿Te fue útil?