Functions

Update function metadata (schedule, timeout, memory) without redeploying code

patch/projects/v1/admin/{project_id}/functions/{name}

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1/admin/{project_id}/functions/{name}
  • Auth: HTTP bearer

Path parameters

project_idstring required

Run402 project ID. Public IDs are not UUIDs.

Example:prj_1741340000_0042
namestring required

Request body

schedulestring nullable

Cron expression (5-field) or null to remove

Response

Updated function metadata

namestring
runtimestring
timeoutinteger
memoryinteger
schedulestring nullable
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.