Update Custom Function
REST API - Custom Functions
Update Custom Function
Update an existing custom function
PATCH
Update Custom Function
Update an existing custom function. You can update the name, description, source code, and limits. If source code changes, the function is re-analyzed automatically.
Path Parameters
Unique identifier of the custom function
Request Body
All fields are optional. Only provided fields will be updated.Updated display name
Updated description
Updated Python source code (triggers re-analysis)
Updated execution limits
Response
Returns the updatedCustomFunctionItem.
Example Request
Notes
- Changing
source_codetriggers automatic re-analysis — status resets toanalysing - Non-code fields (name, description, limits) can be updated without triggering re-analysis
Authorizations
API Key for authentication
Path Parameters
Body
application/json
Request model for updating an existing custom function.
All fields are optional. If source_code changes, the function will be re-analyzed automatically (status transitions to 'analysing' then 'ready').
Response
Successful Response

