API referenceProjects
Rename or describe a project
PATCH
Needs a key withprojects:write
Renames a project or changes its description. Its document and version stay as they are, so an open canvas keeps saving.
Requires scope projects:write.
apiKeyheader
x-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*stringLength
1 <= length <= 128application/json- body
description?stringWhat the project is for, shown on its card.
Length
length <= 1000name?stringLength
1 <= length <= 200The project.
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.
Value in
"personal""team""public"curl -X PATCH 'https://api.remagica.com/api/v1/projects/cb35dcdb-5b3d-4f60-8e2a-1d9c6b4f7e05' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "description": "Product shots for the autumn campaign.", "folderId": "899433f8-5b3d-4f60-8e2a-1d9c6b4f7e05", "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "name": "Autumn campaign", "visibility": "personal"}