Mutation / scripting
updateScript
Update a script. Only provided fields are changed. Requires script:write permission.
Arguments
idScriptID!Script ID to update
inputUpdateScriptInput!Fields to update — only provided fields are changed
Returns UpsertScriptPayload!
Explore in a view
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.