Tokenization Management API

1.0.0

Overview

Statistics
15 Operations
0 Skills
Security Category
Manage tokenization services, formats, and deployments for data tokenization within Anypoint Security.

Servers

  • https://anypoint.mulesoft.com/tokenization/api/{version}/organizations/{organizationId}
  • https://{region}.anypoint.mulesoft.com/tokenization/api/{version}/organizations/{organizationId}
  • https://{region}.platform.mulesoft.com/tokenization/api/{version}/organizations/{organizationId}

Authentication & Security

  • bearerAuth http

    Bearer token authentication. Login endpoint: https://anypoint.mulesoft.com/accounts/api/login

  • clientAuth oauth2

    OAuth2 client credentials. Token endpoint: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token

Get Formats getFormats

GET

Try it out

Query Parameters
Custom Query Parameters
Custom Headers
Get a list of formats.

Query Parameters

query: string
Filter the formats by providing a comma separate list of format uuids

Response

*/*
Successful operation.
items: array
Array items
Examples
*/*
[ { "id": "string", "type": "string" } ]

Create Formats createFormats

POST

Try it out

Custom Query Parameters
Custom Headers
Request Body application/json
Create a new format.

Request Body

json

Response

Resource created successfully.
Examples
*/*
{}

Get Formats By Formatid getFormatsByFormatid

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Get the format
with id =
{formatId}

Path Parameters

formatId *: string
The format ID to identify the target resource.

Response

Successful operation.
Examples
*/*
{}

Update Formats By Formatid updateFormatsByFormatid

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Replaces a formats.

Path Parameters

formatId *: string
The format ID to identify the target resource.

Request Body

json

Response

Successful operation.
Examples
*/*
{}

Delete Formats By Formatid deleteFormatsByFormatid

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Deletes a formats.

Path Parameters

formatId *: string
The format ID to identify the target resource.

Response

Operation completed successfully with no content returned.

Get Services getServices

GET

Try it out

Custom Query Parameters
Custom Headers
Get a list of services.

Response

Successful operation.
Examples
*/*
{}

Get Environments By Envid Services getEnvironmentsByEnvidServices

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Get a list of services.

Path Parameters

envId *: string

Response

*/*
Successful operation.
items: array
Array items
Examples
*/*
[ { "id": "string", "type": "string" } ]

Create Environments By Envid Services createEnvironmentsByEnvidServices

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Create a new service.

Path Parameters

envId *: string

Request Body

json
serviceData *: object
logs: object
audit: object

Response

*/*
Resource created successfully.
id *: string
ipAddress *: any
status *: string
serviceData *: object
logs: object
environmentId *: string
organizationId *: string
vdpOperationInfo *: object
vdpUpdateOperationInfo: any
deploymentInfo *: any
createdAt *: string
updatedAt *: string
downloadedAt *: string
Examples
*/*
{ "id": { "id": "string", "type": "string" }, "ipAddress": { "id": "string", "type": "string" }, "status": { "id": "string", "type": "string" }, "serviceData": { "id": "string", "type": "string" }, "logs": { "id": "string", "type": "string" }, "environmentId": { "id": "string", "type": "string" }, "organizationId": { "id": "string", "type": "string" }, "vdpOperationInfo": { "status": { "id": "string", "type": "string" }, "finishTimestamp": "string", "processTimestamp": "string", "runnerNode": "string", "generalResponse": "string", "vdpResponse": { "id": "string", "type": "string" }, "csmResponse": { "id": "string", "type": "string" }, "exchangeResponse": { "id": "string", "type": "string" } }, "vdpUpdateOperationInfo": {}, "deploymentInfo": {} }

Get Environments By Envid Services By Serviceid getEnvironmentsByEnvidServicesByServiceid

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Get the service
with id =
{serviceId}

Path Parameters

envId *: string
serviceId *: string
The service ID to identify the target resource.

Response

*/*
Successful operation.
id *: string
ipAddress *: any
status *: string
serviceData *: object
logs: object
environmentId *: string
organizationId *: string
vdpOperationInfo *: object
vdpUpdateOperationInfo: any
deploymentInfo *: any
createdAt *: string
updatedAt *: string
downloadedAt *: string
Examples
*/*
{ "id": { "id": "string", "type": "string" }, "ipAddress": { "id": "string", "type": "string" }, "status": { "id": "string", "type": "string" }, "serviceData": { "id": "string", "type": "string" }, "logs": { "id": "string", "type": "string" }, "environmentId": { "id": "string", "type": "string" }, "organizationId": { "id": "string", "type": "string" }, "vdpOperationInfo": { "status": { "id": "string", "type": "string" }, "finishTimestamp": "string", "processTimestamp": "string", "runnerNode": "string", "generalResponse": "string", "vdpResponse": { "id": "string", "type": "string" }, "csmResponse": { "id": "string", "type": "string" }, "exchangeResponse": { "id": "string", "type": "string" } }, "vdpUpdateOperationInfo": {}, "deploymentInfo": {} }

Update Environments By Envid Services By Serviceid updateEnvironmentsByEnvidServicesByServiceid

PUT

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Replaces a services.

Path Parameters

envId *: string
serviceId *: string
The service ID to identify the target resource.

Query Parameters

desiredStatus: string
The desired state of service.
rtfUpdate: boolean
Set to true if the rtf needs to be changed.

Request Body

json
serviceData *: object
logs: object
audit: object

Response

Successful operation.
Examples
*/*
{ "id": "9f5d4e9a-9847-426b-8dc5-ce8db56647d2", "ipAddress": null, "status": "UPDATING", "serviceData": { "name": "ssnServiceTestNew108", "muleCloudID": "291d8f46-b24f-4caa-92d3-6671de72b20a", "formats": [ "3259bfc6-d361-4cb4-abc3-13d9741ce1e5", "3c6bdd6c-2ef2-4850-8392-a8de4d03025c" ], "numberOfInstances": 1, "esgVersion": "v0.3.153" }, "vdpOperationInfo": { "processTimestamp": "2018-09-06T15:01:59+00:00", "status": "CSM_DONE", "runnerNode": "eth0@10.7.1.51", "vdpResponse": { "domains": [ "creditCardNumber", "decimal", "laxDecimal", "socialSecurityNumber" ], "outputLocation": "vdp_1536246119750.vdp" }, "exchangeResponse": { "organizationId": "91d6681d-e388-4972-9dd9-74ee44a5088a", "groupId": "91d6681d-e388-4972-9dd9-74ee44a5088a", "assetId": "ssnServiceTestNew108-1536246400714", "version": "1.0.1536246400", "classifier": "vdp", "versionGroup": "1.0.1536246400", "metadata": { "name": "ssnServiceTestNew108", "type": "vdp", "classifier": "vdp", "tags": [ { "value": "vdp" } ] } }, "csmResponse": { "secretGroupId": "ff635e41-68b6-445b-8dea-8ea9551a7f09", "secretType": "sharedSecrets", "secretId": "28d6c3ba-a144-4285-8a3b-756a74fb48eb", "packaging": "secret", "type": "GLOBAL" }, "finishTimestamp": "2018-09-06T15:06:55+00:00" }, "logs": { "portLogLevel": "WARNING", "filters": [] }, "organizationId": "91d6681d-e388-4972-9dd9-74ee44a5088a", "environmentId": "29627ca0-fd5b-456c-8bae-7dfd5ddabe8b", "vdpUpdateOperationInfo": null, "deploymentInfo": { "deploymentId": "a3dd5aca-b1e5-11e8-b36d-fb58563a0a93", "deployerCallSuccessful": true }, "createdAt": "2019-01-14T18:23:57.267000+00:00", "updatedAt": "2019-03-14T18:23:57.267000+00:00", "downloadedAt": "2019-02-14T18:23:57.267000+00:00", "audit": { "enabled": false } }

Patch Environments By Envid Services By Serviceid patchEnvironmentsByEnvidServicesByServiceid

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
To perform rekey of a VDP table associated with a service.

Path Parameters

envId *: string
serviceId *: string
The service ID to identify the target resource.

Response

Successful operation.
Examples
*/*
{ "id": "9f5d4e9a-9847-426b-8dc5-ce8db56647d2", "ipAddress": null, "status": "UPDATING", "serviceData": { "name": "ssnServiceTestNew108", "muleCloudID": "291d8f46-b24f-4caa-92d3-6671de72b20a", "formats": [ "3259bfc6-d361-4cb4-abc3-13d9741ce1e5", "3c6bdd6c-2ef2-4850-8392-a8de4d03025c" ], "numberOfInstances": 1, "esgVersion": "v0.3.153" }, "vdpOperationInfo": { "processTimestamp": "2018-09-06T15:01:59+00:00", "status": "CSM_DONE", "runnerNode": "eth0@10.7.1.51", "vdpResponse": { "domains": [ "creditCardNumber", "decimal", "laxDecimal", "socialSecurityNumber" ], "outputLocation": "vdp_1536246119750.vdp" }, "exchangeResponse": { "organizationId": "91d6681d-e388-4972-9dd9-74ee44a5088a", "groupId": "91d6681d-e388-4972-9dd9-74ee44a5088a", "assetId": "ssnServiceTestNew108-1536246400714", "version": "1.0.1536246400", "classifier": "vdp", "versionGroup": "1.0.1536246400", "metadata": { "name": "ssnServiceTestNew108", "type": "vdp", "classifier": "vdp", "tags": [ { "value": "vdp" } ] } }, "csmResponse": { "secretGroupId": "ff635e41-68b6-445b-8dea-8ea9551a7f09", "secretType": "sharedSecrets", "secretId": "28d6c3ba-a144-4285-8a3b-756a74fb48eb", "packaging": "secret", "type": "GLOBAL" }, "finishTimestamp": "2018-09-06T15:06:55+00:00" }, "logs": { "portLogLevel": "WARNING", "filters": [] }, "organizationId": "91d6681d-e388-4972-9dd9-74ee44a5088a", "environmentId": "29627ca0-fd5b-456c-8bae-7dfd5ddabe8b", "vdpUpdateOperationInfo": null, "deploymentInfo": { "deploymentId": "a3dd5aca-b1e5-11e8-b36d-fb58563a0a93", "deployerCallSuccessful": true }, "createdAt": "2019-01-14T18:23:57.267000+00:00", "updatedAt": "2019-03-14T18:23:57.267000+00:00", "downloadedAt": "2019-02-14T18:23:57.267000+00:00", "audit": { "enabled": false } }

Delete Environments By Envid Services By Serviceid deleteEnvironmentsByEnvidServicesByServiceid

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Deletes a services.

Path Parameters

envId *: string
serviceId *: string
The service ID to identify the target resource.

Response

Operation completed successfully with no content returned.

Get Environments By Envid Deployments getEnvironmentsByEnvidDeployments

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get deployer information for tokenization services.

Path Parameters

envId *: string

Query Parameters

tragetId *: string

Response

Successful operation.
Examples
*/*
[ { "id": "4b81bb7e-d35e-11e8-a1c5-670c909cda8c", "type": "Tokenizer", "target": { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "provider": "MC" }, "name": "ccnServiceTest7", "scope": { "organization": "1c9c4eba-5d30-40a8-9ba4-e81c75266530", "environment": "9adfafe3-0b50-43f8-971a-f3445e7c260d" }, "labels": { "owner": "TokenizerService" }, "specVersion": "4b81bb80-d35e-11e8-a1c5-89789b0436b6", "status": { "status": "FAILED", "lastSuccessfulSpec": null, "nodes": [ { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "status": "FAILED", "replicas": [ { "currentVersion": "4b81bb80-d35e-11e8-a1c5-89789b0436b6", "state": "FAILED", "reason": "Failed to pull securityfabric-tokenizer:v0.3.148" } ] } ] }, "createdAt": 1539926258198, "updatedAt": 1539926258198 }, { "id": "87e42d25-d337-11e8-a4c6-79986f4f0474", "type": "Tokenizer", "target": { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "provider": "MC" }, "name": "ccnServiceTest6", "scope": { "organization": "1c9c4eba-5d30-40a8-9ba4-e81c75266530", "environment": "9adfafe3-0b50-43f8-971a-f3445e7c260d" }, "labels": { "owner": "TokenizerService" }, "specVersion": "87e42d27-d337-11e8-a4c6-f590e575a82c", "status": { "status": "FAILED", "lastSuccessfulSpec": null, "nodes": [ { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "status": "FAILED", "replicas": [ { "currentVersion": "87e42d27-d337-11e8-a4c6-f590e575a82c", "state": "FAILED", "reason": "Failed to pull securityfabric-tokenizer:v0.3.148" } ] } ] }, "createdAt": 1539909609134, "updatedAt": 1539909609134 }, { "id": "41760a5f-d2f7-11e8-a1c5-ed8fb7e98892", "type": "Tokenizer", "target": { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "provider": "MC" }, "name": "ssnService1", "scope": { "organization": "1c9c4eba-5d30-40a8-9ba4-e81c75266530", "environment": "9adfafe3-0b50-43f8-971a-f3445e7c260d" }, "labels": { "owner": "TokenizerService" }, "specVersion": "2bee5283-d30b-11e8-a1c5-459e04a7ab08", "status": { "status": "APPLIED", "lastSuccessfulSpec": "2bee5283-d30b-11e8-a1c5-459e04a7ab08", "nodes": [ { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "status": "APPLIED", "replicas": [ { "currentVersion": "2bee5283-d30b-11e8-a1c5-459e04a7ab08", "state": "STARTED", "reason": null } ] } ] }, "createdAt": 1539882003181, "updatedAt": 1539890556993 }, { "id": "d0ff583c-d189-11e8-a1c5-657a5fa20489", "type": "Tokenizer", "target": { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "provider": "MC" }, "name": "ccnService1", "scope": { "organization": "1c9c4eba-5d30-40a8-9ba4-e81c75266530", "environment": "9adfafe3-0b50-43f8-971a-f3445e7c260d" }, "labels": { "owner": "TokenizerService" }, "specVersion": "82c6e715-d18c-11e8-a1c5-4f85b90ed03c", "status": { "status": "APPLIED", "lastSuccessfulSpec": "82c6e715-d18c-11e8-a1c5-4f85b90ed03c", "nodes": [ { "id": "6fbcddb7-5676-4b7d-adb2-923e80355b12", "status": "APPLIED", "replicas": [ { "currentVersion": "82c6e715-d18c-11e8-a1c5-4f85b90ed03c", "state": "STARTED", "reason": null } ] } ] }, "createdAt": 1539725048192, "updatedAt": 1539726205449 } ]

Get Environments By Envid Deployments By Deploymentid getEnvironmentsByEnvidDeploymentsByDeploymentid

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Get the deployment
with id =
{deploymentId}

Path Parameters

envId *: string
deploymentId *: string

Response

*/*
Successful operation.
id *: string
type *: string
target *: object
name *: string
scope *: object
strategies: object
labels: object
specVersion *: string
status *: object
createdAt *: integer
updatedAt *: integer
spec: object
Examples
*/*
{ "id": "string", "type": { "id": "string", "type": "string" }, "target": { "id": "string", "provider": "MC" }, "name": "string", "scope": { "id": "string", "type": "string" }, "strategies": { "id": "string", "type": "string" }, "labels": { "id": "string", "type": "string" }, "specVersion": { "id": "string", "type": "string" }, "status": { "id": "string", "type": "string" }, "createdAt": 0 }

Get Environments By Envid Deployments By Deploymentid Specs getEnvironmentsByEnvidDeploymentsByDeploymentidSpecs

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Get the list of specs defined for a particular deployment. The specs that will appear in this list are:

1) The desired spec referenced by the specVersion attribute of the deployment.

2) The former spec.

3) All the specs that are applied in any target node.

Path Parameters

envId *: string
deploymentId *: string

Response

*/*
Successful operation.
target: object
Examples
*/*
{ "target": { "id": "string", "type": "string" } }