SenseCrypt Docs
API ReferenceAdmin Auth Users Tokenized

Patch Tokenized

PATCH/v1/admin/auth_users_tokenized

Update ONE existing tokenized auth_user, matched by id. Partial merge: omitted fields are preserved. A supplied face token is re-validated.

Addressed by the row id, not the email: the address is mutable, so an email-keyed connector loses the user the moment anyone renames them in the console — and its next upsert forks a second identity. email is just another updatable field.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/v1/admin/auth_users_tokenized" \  -H "Content-Type: application/json" \  -d '{    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "subject_id": "string",  "email": "user@example.com",  "name": "string",  "attributes": {},  "app_metadata": {},  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "scim_managed": false,  "role_count": 0}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}