identity_id on the verified JWT, so a caller can only ever update their own identity. Only the name field is editable through this endpoint; any other property sent in the request body is ignored. The full, updated identity record is returned in the response.curl --location --request PATCH '/current-identity' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Jane A. Doe"
}'{
"message": "Identity updated successfully",
"status": "success",
"data": {
"id": "01HXYZ1234567890ABCDEFGHIJ",
"name": "Jane A. Doe",
"type": "user",
"primary_email": "jane.doe@example.com",
"reference": "IDT-8F2A1C7D",
"parent": null,
"status": "active",
"created": 1722869520000,
"updated": 1722955920000
}
}