It seems the documentation doesn't directly address copying or migrating blocks between workspaces. However, the documented concept of workspaces does indicate that blocks are workspace-specific.
You might need to perform the migration by manually exporting and importing the blocks using Prefect's API or CLI. The steps are likely:
1.
Retrieve Blocks from Source Workspace: Use the Prefect API to list and retrieve all the blocks from the source workspace.
2.
Create Blocks in Target Workspace: Use the gathered block data to create corresponding blocks in the target workspace.
Unfortunately, this procedure isn't explicitly documented, so improvisation might be necessary.
Refer to the
Prefect Cloud Workspaces Documentation for more details on workspaces. If no straightforward solution exists, consider raising a
GitHub issue to seek further assistance or suggest this feature.
If you need code examples or more specific guidance, please let me know!