Remove-FabricCopyJob
Deletes a Copy Job from a specified Microsoft Fabric workspace.
Syntax
Remove-FabricCopyJob [-WorkspaceId] <guid> [-CopyJobId] <guid> [-WhatIf] [-Confirm]
[<CommonParameters>]Description
This function performs a DELETE operation on the Microsoft Fabric API to remove a Copy Job from the specified workspace using the provided WorkspaceId and CopyJobId parameters.
Examples
Example 1
Deletes the Copy Job with ID "copyjob-67890" from the workspace with ID "workspace-12345".
Remove-FabricCopyJob -WorkspaceId "workspace-12345" -CopyJobId "copyjob-67890"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -CopyJobId | guid | ✓Required | 1 | – | The unique identifier of the Copy Job to delete. |
| -WorkspaceId | guid | ✓Required | 0 | – | The unique identifier of the workspace containing the Copy Job to be deleted. |
| -Confirmalias: cf | switch | Named | – | Prompts you for confirmation before running the cmdlet. |
|
| -WhatIfalias: wi | switch | Named | – | Runs the command in a mode that only reports what would happen without performing the actions. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Ensures token validity by invoking
Confirm-TokenStatebefore making the API request.
Author: Tiago Balabuch, Kamil Nowinski