Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

setKeyValue

Served by: management

Name Type
input SetKeyValueInput!

KeyValue

Creates or updates a key-value entry for the current user.

mutation SetKeyValue($input: SetKeyValueInput!) {
setKeyValue(input: $input) {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
name
tenantID
updatedAt
updatedBy
userID
}
}

Variables

{
"input": {
"data": "{\"theme\":\"dark\",\"density\":\"compact\"}",
"name": "ui.theme"
}
}