Move a project
Needs a key withprojects:write
Moves a project into a folder, or to the top level (folderId: null). The folder's scope decides who sees it: a team folder shares it with the workspace, a personal one keeps it yours (a public project stays public).
Requires scope projects:write.
apiKeyx-api-key<token>An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.
workflowId*string1 <= length <= 128application/json- body
folderId*|The folder; null for the top level. Moving into a team folder shares a personal project with the workspace; into a personal folder makes a team project personal (a public one stays public).
The project, moved.
application/json- response
description*stringfolderId*string|nullid*stringname*stringvisibility*stringpersonal: only its creator lists it. team: the whole workspace. public: the workspace, and anyone with its share link can view it read-only and make a copy.
"personal""team""public"curl -X PUT 'https://api.remagica.com/api/v1/projects/cb35dcdb-5b3d-4f60-8e2a-1d9c6b4f7e05/folder' \ -H 'Content-Type: application/json' \ -d '{ "folderId": "899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05"}'{ "description": "Product shots for the autumn campaign.", "folderId": "899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign", "visibility": "personal"}