API v1
Custom Functions
Custom Functions CRUD

Update Custom Function

Update an existing custom function. You can update name, description, source_code, and limits. If source_code changes, the function is re-analyzed automatically.

patch/v1/custom_functions/{function_id}

Request

  • Base URL
    https://api.xpander.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header x-api-key

Path parameters

function_idstring required

Request body

namestring nullable

Updated function name.

descriptionstring nullable

Updated function description.

source_codestring nullable

Updated Python source code. If changed, triggers re-analysis.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 4 revisions of this API.