revoke-token
Revokes a given access or refresh token that was previously issued to an OAuth2 client.
revoke-token
[-b value | --bootstrap-config=value]
[-t value | --tool-password=value]
<-o value | --token=value>
[-y value | --token-type=value]
Overview
Use this command to revoke a given access or refresh token that was previously issued to an OAuth2 client. Unknown or expired tokens are silently ignored.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Optional | none | The configuration tool password used to decrypt the database password in the file bootstrap.xml. If the tool password is omitted, the command prompts the user for it in the console. Refer to Bootstrap.xml file. |
|
Required | none | The token to be revoked. |
|
Optional | none | The type of the given token. Valid values are 'access_token' and 'refresh_token'. |
Parent topic: Command-line reference