Magidoc

moveStackProject
Mutation

Move a project into a stack, between stacks, or out of its stack. Pass stackId to add the project to that stack (it is appended at the last position); omit it or pass null to remove the project from its current stack. The stack must belong to the project's workspace — cross-workspace moves are rejected. Adding requires Workspace Admin or direct Project Admin permission, plus access to the target stack through Stack Admin or workspace create-project permission. Removing requires Workspace Admin or workspace create-project permission. Moving between stacks requires both. Inherited Stack Admin permission alone does not authorize adding projects. Returns the updated project. See also reorderStackProjects.

Arguments

#

projectId

Non-null

stackId

Response

#

Returns Project .

Example

#