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");
| Field | Type | Description |
|---|---|---|
id | String | Identity ID. |
field | String | PascalCase 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"
}
| Field | Type | Description |
|---|---|---|
message | String | Confirmation that the field was tokenized. |