← API reference
Mutation / scripting

updateScript

Update a script. Only provided fields are changed. Requires script:write permission.

Arguments

Script ID to update

Fields to update — only provided fields are changed

Returns UpsertScriptPayload!

Explore in a view

Scripting
View exact SDL
"""
Update a script. Only provided fields are changed. Requires script:write permission.
"""
updateScript(
  """Script ID to update"""
  id: ScriptID!
  """Fields to update — only provided fields are changed"""
  input: UpdateScriptInput!
): UpsertScriptPayload! @topic(names: ["scripting"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.