Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.01 KB

user-migration.md

File metadata and controls

48 lines (32 loc) · 1.01 KB

User Migration

1 operation(s). Part of the API index.

Call these as client.<service>.<method>({ ... }). <service> is the client field for this group — the README lists the field name for every service. These pages group operations the way the OpenAPI specification tags them, which is not always one field per page.


batchUpload

POST /bulk/upsert

Batch upload Users

Uploads an array of Users with optional Password and migration configuration.

Example

async function callBatchUpload(client: LoginRadius) {
  const batchUpload = {  }; //Required

  try {
    const res = await client.<service>.batchUpload({ batchUpload });
    console.log(res.data);
  } catch (err) {
    if (err instanceof LoginRadiusError) {
      console.error(err.description);
    } else {
      throw err;
    }
  }
}

Request body

BatchUpload as application/json.

Returns

BatchUploadResponse