Migrate (add or update) user entities
POST/users-srv/user/bulk
Migrating to cidaas mostly also implies to migrate users and if applicable also their hashed passwords.
The users might even have further fields (customFields), groups or roles that might need migration. This specification helps to understand the object that is transferred to cidaas to migrate users.
For detailed step-by-step guidance, see the User Migration Documentation.
Important Notes:
- Maximum 1000 users per request
- The response includes individual status for each user migration attempt
- Failed migrations will have
sub: "ANONYMOUS"and include error details in themessagefield - Optional account fields
createdTimeandlastLoggedInTimepreserve historical registration and last-login dates from your source system when provided (ISO 8601)
Process States:
CREATED: User was successfully createdUPDATED: Existing user was successfully updatedFAILED: User migration failed (see message field for details)
Common Errors & Troubleshooting:
507/"invalid email passed": Returned when an email fails validation. Key causes and solutions:- Disposable email address: Rejection occurs if
allow_disposable_emailisfalseon the client App. Setallow_disposable_email: truein App settings if disposable or test emails are expected. - Invalid email domain MX record: The email domain lacks active/resolvable MX or A DNS records. Ensure email domains in the import batch have valid DNS records.
- Disposable email address: Rejection occurs if
400 Bad Request: Missing required fields or invalid data types.413 Payload Too Large: Batch size exceeds 1000 users.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 413
- 417
- 429
Bulk migration completed successfully
Bad Request - Invalid request format or parameters
Unauthorized - Invalid or missing authentication
Forbidden - Missing required scope 'cidaas:bulk_user_create'
Not Found - Endpoint not found
Payload Too Large - Exceeds maximum of 1000 users per request
Expectation Failed - Validation or processing errors
Too Many Requests - Rate limit exceeded