Update the current identity when authenticated as an identity.
PUT https://api.jsonpad.io/identities/selfcurl https://api.jsonpad.io/identities/self \
-X PUT \
-H "Content-Type: application/json" \
-H "x-api-token: <YOUR TOKEN>" \
-H "x-identity-token: <IDENTITY TOKEN>" \
-H "x-identity-group: <IDENTITY GROUP>" \
-d '{
"name": "My Updated Identity"
}'No parameters
x-api-tokenstringYour API token.x-identity-tokenstringAn identity token.x-identity-groupstringAn identity group.{name: "Sample Identity"password: "new-secret"}namestringThe name of the identity.passwordstringThe identity's password.
{id: "3212acc3-e7bf-4e85-a22d-5e7cbb495256"createdAt: "2026-09-05T11:30:45.725Z"updatedAt: "2026-09-05T11:30:45.725Z"user: {id: "4379955b-fccd-42da-b626-758ac53bef89"createdAt: "2026-09-05T11:30:45.725Z"updatedAt: "2026-09-05T11:30:45.725Z"lastActiveAt: "2026-09-05T11:30:45.725Z"activated: truedisplayName: "Sample User"description: "Sample user description"}name: "Sample Identity"group: "sample-group"activated: true}last-modified2026-09-05T11:30:45.725ZThe date this identity was last modified.