disableToken()
Disables the specified tokens from a token vault.
public SiteBean[] disableToken(String[] tokens, String table)
Request Parameters
Parameters | Data Types | Descriptions |
---|---|---|
tokens | string | An array of tokens to be disabled. |
table | string | This is the Token Vault name and it must be in CAPITAL LETTERS. |
Exception
Passes an exception if the table is missing or the token is null or invalid.
Example
disableToken(tokens, "CREDIT_CARD_NUMBERS").
The method disables the tokens specified in the token array.