Identities

Tokenize field

Tokenize a single identity field with the Java SDK.

POST/identities/{identity_id}/tokenize/{field}

Use blnk.identity().tokenizeField for this operation.

Call the method

String identityId = "idt_073f7ffe-9dfd-42ce-aa50-d1dca1788adc";

ApiResponse<JsonNode> response = blnk.identity().tokenizeField(identityId, "FirstName");
FieldTypeDescription
idStringIdentity ID.
fieldStringPascalCase field name to tokenize.

Confirm tokenization

Check the response message, then use get tokenized fields to verify the field is protected.

Response

{
  "message": "Field tokenized successfully"
}
FieldTypeDescription
messageStringConfirmation that the field was tokenized.