Skip to main content

Updating Folders Details

Updating Projects

In general most fields you can update with the following mutation

mutation UpdateFolder($input: FolderInputType!) {
updateFolder(input: $input) {
folder {
id
name
description
labels
}
}
}
// variables
{
"input": {
"id": "Zm9sZGVyOjVjMzM4ODRlMWNiNmMxMjkwY2JhMWFkZA==",
"name": "Fixed Test Folder",
"description": "This is a test",
"labels": ["P202242"],
"emoteIcon": "🧑‍💻"
}
}
NameInfo
idString - is required
nameString - not required, but if set it shouldn't be empty
descriptionString
labelsArray of Strings - can be any string. if the label is not yet being used in the account, it will be added to the label managment
emoteIconString - you can set any Emoji here which will prepended to the name, but does not affect the sorting
note

More information about what you can send over at FolderInputType