deleteValue()
deleteValue() API deletes a token and its corresponding ciphertext from the token vault. This method is also supported in the batch mode.
Request URL
Url:http://localhost:8080/tmrest/SafeNetTokenManager/deleteValue
Url for Batch:http://localhost:8080/tmrest/SafeNetTokenManager/batch/deleteValue
Method
DELETE
Request Parameters
Parameters | Descriptions |
---|---|
naeUser | A Key Manager user with access to the AES and HMAC keys. |
naePassword | The Key Manager user’s password. |
dbUser (optional) | A database user with access to the token table. |
dbPassword (optional) | The database user’s password. |
value(s) | The plaintext value(s). |
tableName | This is the Token Vault name and it must be in CAPITAL LETTERS. |
customData (optional) | The customer-specific data associated with each plaintext value. |
Note
For MySQL, if the customData parameter is null or empty, then the deleteValue() API deletes records on the basis of values in the vault.
Example
{
"naeUser":"jit",
"naePassword":"xxxxxxxx",
"dbUser":"sa",
"dbPassword":"xxxxxxxx",
"values": ["25863143853333","4302578582222","6627979014444"],
"tableName":"test"
}
Result
Void (aligned with API behavior).