How do I re-alias an existing alias to another format?

Context
If you have existing alias and wish to re-alias into a different VGS alias format, then please follow the example below on how to re-alias your VGS alias to another format.


Documentation
Please review the different VGS alias formats below.
https://www.verygoodsecurity.com/docs/terminology/nomenclature#alias-formats

Please review how to re-alias the existing VGS alias below.
https://www.verygoodsecurity.com/docs/vault/api/#operation/createAliases


VGS Example
---
RE-ALIAS VALUE

curl https://api.sandbox.verygoodvault.com/aliases \
-X POST \
-u "$USERNAME:$PASSWORD" \
-H 'Content-Type: application/json' \
-d '{ "data": [ { "alias": "tok_sandbox_sXrwCFfvTVDt25SJLvNTdS", "format": "GENERIC_T_FOUR" } ] }'

RESPONSE

{
"data" : [ {
"classifiers" : [ ],
"aliases" : [ {
"alias" : "tok_sandbox_rFrwCFfvXRDt25SJLxVTdS_4444",
"format" : "GENERIC_T_FOUR"
}, {
"alias" : "tok_sandbox_sXrwCFfvTVDt25SJLvNTdS",
"format" : "UUID"
} ],
"created_at" : "2020-08-01T02:26:26Z"
} ]

---

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.