Skip to main content

Vault Management

Vault management includes the ability to Create, Read, Update and Delete vaults. Once a vault is created, API keys and IP whitelists can be managed on each vault independently.

Actions

ActionHTTP MethodRouteDescription
Create VaultPOST/api/api/vault/Vault creation is limited based on the type of vaults created. Vault type configurations are managed by the TokenEx support team.

- Vaulted Vaults can create up to 100 new vaults per rolling 30 day calendar
- Vaultless Vaults can create up to 500 new vaults per rolling 30 day calendarUpon successful creation we will return your new TokenEx ID.
Get VaultsGET/api/api/vault/Request list of active TokenEx IDs. Response also includes number of vaults remaining in current rolling 30 day period.
Get Vault DetailsGET/api/api/vault/{TokenEx ID}Retrieve specific vault details including IP Whitelists, number of API keys and permissions
Update VaultPUT/api/api/vault/{TokenEx ID}Update the Vault Name
Delete VaultDELETE/api/api/vault/{TokenEx ID}Removes the TokenEx ID from your list of active TokenEx IDs. All new vault activity will error.

Examples

Create Vault

POST /api/api/vault/ HTTP/1.1
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{
"Name": "string"
}

Get Vaults

GET /api/api/vault HTTP/1.1
Host: test-my.tokenex.com
Authorization: {Your Authorization Value}

Get Vault Details

GET /api/api/vault/12345 HTTP/1.1
Host: test-my.tokenex.com
Authorization: {Your Authorization Value}

Update Vault

PUT /api/api/vault/12345
Host: test-my.tokenex.com
Content-Type: application/json
Authorization: {Your Authorization Value}

{
"name": "string"
}

Delete Vault

DELETE /api/api/vault/12345 HTTP/1.1
Host: test-my.tokenex.com
Authorization: {Your Authorization Value}