Magidoc

deleteResourceAssignment
Mutation

Delete a resource assignment by its id within a workspace.

Soft-deletes the assignment (sets deleted: true) and clears its timesheets when the assignment was confirmed. Estimate Planner-owned assignments cannot be deleted. Pass the exact assignment id from a prior getResourceAssignments read; a missing or already-deleted id returns a not-found error. For stale-assignment cleanup, list candidates with getResourceAssignments and delete only after the user confirms. Returns true when an assignment was deleted.

Arguments

#

id

ID !
Non-null

The id of the resource assignment to delete

workspaceId

ID !
Non-null

The workspace id

Response

#

Returns Boolean .

Example

#