Migrate SIMs from one Workspace to another.
sims, iccids, or iccid_rangeThis endpoint requires authentication with user credentials, as application tokens are scoped to a single Workspace.
dry_run parameter defaults to true.
Set it to false to execute the migration.ACTIVATED are automatically suspended during migration.auto_detach_devices: true or the request fails.The request fails if one or more SIMs don’t meet the requirements for migration.
Check the errors array in the response for details.
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Target Workspace to migrate SIMs to. Must be an enterprise Workspace. The calling user must have Administrator permissions on the target Workspace.
If set to true, the SIMs automatically detach from the devices before being migrated.
Otherwise, the request is rejected if one or more SIMs are attached to devices.
Successful migration request.
If dry_run was set to false, the migration is processed.
If dry_run was set to true, the response contains a summary of the changes that would be executed.
The dry_run option specified in the request
The target_workspace specified in the request
The auto_detach_devices option specified in the request
The allowed_sim_statuses option specified in the request
List of SIMs to migrate. The list may include up to 500 SIMs.
Cannot be used in combination with the iccids or the iccid_range field.
List of ICCIDs to migrate. All SIMs must belong to the source Workspace. The list may include up to 500 ICCIDs.
Cannot be used in combination with the sims or the iccid_range field.
ICCID range to migrate.
All SIMs within the range must belong to the source Workspace.
The range may include up to 500 ICCIDs.
The end value must be greater than or equal to the start value.
Cannot be used in combination with the iccids or the sims field.
Controls whether the migration is executed or simulated.
true (default): Returns a preview of SIMs that would be migrated without making changesfalse: Executes the migrationAlways test with a dry run first to verify the SIMs match your expectations.