Migrate SIMs between Workspaces
Authentication
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Request
List of SIMs to migrate.
Cannot be used in combination with the iccids or the iccid_range field.
The list may include up to 500 SIMs.
List of ICCIDs to migrate.
All SIMs must belong to the source Workspace.
Cannot be used in combination with the sims or the iccid_range field.
The list may include up to 500 ICCIDs.
ICCID range to migrate.
All SIMs withing the range must belong to the source Workspace.
Cannot be used in combination with the iccids or the sims field.
The range may include up to 500 ICCIDs.
If set to true, the API returns a summary of the changes that would be performed without executing the migration.
Defaults to true.
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.
Response
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