updateFunction
Update an existing function.
This page contains
Arguments
input UpdateFunctionInput! PREVIEW |
UpdateFunctionInput fields
id ID! | Identifier of the function to update. |
name String | New name for the function. Can be omitted to keep current function name. |
codeFileName String | Name of the file containing the function's source code and implementation |
active Boolean | New active status for the function. Can be omitted to keep current active status. |
variables [FunctionVariableInput!] PREVIEW | New variables for the function. Can be omitted to keep current variables. |
Return Fields
function Function PREVIEW | Updated function if successful. |
userErrors [UpdateFunctionError!] PREVIEW | User errors preventing the update of the function. |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.