SenseCrypt Docs
API ReferenceAdmin Auth Users Tokenized

Bulk Import Tokenized

POST/v1/admin/auth_users_tokenized

Batch-create tokenized auth_users. All-or-nothing: the whole request is validated before any row is written, so one bad item persists nothing.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[index: integer]?

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/admin/auth_users_tokenized" \  -H "Content-Type: application/json" \  -d '[    {      "email": "user@example.com",      "face_token_params": {        "face_token": "string",        "code_challenge": "string"      }    }  ]'
[  {    "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": {}    }  ]}