SwapResourceOnAssignmentAction
Swaps the resource on an assignment to a different resource. Returns the updated assignment.
| Property | Value |
| Label | Swap Resource on Assignment |
| Category | Resource Management |
| Since | Summer 2026 |
| Read-only | No |
| Supports Agents | Yes |
| Supports Flows | No |
| Async Action | No |
| Keywords | replace, substitute, reassign |
Request Parameters
| Field | Type | Label | Description | Required |
assignmentId | Id | Assignment ID | The ID of the assignment on which to swap the resource. | Yes |
resourceId | Id | Resource ID | The ID of the resource to swap onto the assignment. | Yes |
Response Parameters
| Field | Type | Label | Description | Required |
assignmentId | Id | Assignment ID | The ID of the assignment whose resource was swapped. | No |
name | String | Assignment Name | The name of the assignment whose resource was swapped. | No |
resourceId | Id | Resource ID | The ID of the resource now assigned after the swap. | No |
projectId | Id | Project ID | The ID of the project the swapped assignment belongs to. | No |
success | Boolean | Success | True if the resource was successfully swapped on the assignment. | No |
errorMessage | String | Error Message | The error message returned if the resource could not be swapped. | No |
|