Magidoc

updateActionParent
Mutation

Moves an action beneath another action, or promotes it to the top level when parentId is omitted or null. rank or useLowestRank controls placement; skipSyncActionDates prevents date synchronization. Returns the updated action.

Arguments

#

actionId

ID !
Non-null

parentId

rank

rankInput

Neighbors to rank between; when given, rank is computed server-side and overrides rank

useLowestRank

Response

#

Returns Action .

Example

#