Skip to main content
PUT
Update Endpoint

Headers

Content-Type
string
required

Allowed value: application/json.

Authorization
string
required

Bearer authentication format, e.g.: Bearer {{API_KEY}}.

Path Parameters

endpoint_id
string
required

Endpoint ID. String, length: 1-255 characters.

Body

application/json
name
string

Endpoint name.

Example:

"example-endpoint-updated"

product_id
string

Serverless product ID. String, length: 1-255 characters.

Example:

"product-id"

worker_config
object

Worker configuration.

policy
object

Scheduling / request policy.

image
string

Image address. String, length: 0-500 characters.

Example:

"registry.example.com/namespace/image:new-tag"

registry_auth_id
string

Saved registry authentication ID. String, length: 0-255 characters.

Example:

"registry-auth-id"

entrypoint
string

Container entrypoint.

Example:

""

command
string

Startup command.

Example:

"cargo build"

health_check
object

Health check configuration.

envs
object[]

Environment variable list.

ports
integer[]

Port list. Each value in range: [1, 65535].

Example:
volumes
object[]

Mount list.

region_id
string

Region ID.

Example:

"region-id"

Response

200 - application/json

OK

The response is of type object.

Last modified on June 26, 2026