Skip to main content

createOrUpdateWorkspacePreference

Upsert a workspace preference by key, reviving a soft-deleted row if one exists. Requires the caller to be a workspace admin (or the Retool role). Keys in the externally-visible allowlist are stored as non-internal so customer users can read them.

createOrUpdateWorkspacePreference(
input: CreateWorkspacePreferenceInput!
): CreateOrUpdateWorkspacePreferencePayload

Arguments

createOrUpdateWorkspacePreference.input ● CreateWorkspacePreferenceInput! non-null input

The preference key/value to upsert.

Type

CreateOrUpdateWorkspacePreferencePayload object