Skip to main content
PATCH
Update container

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project id

Example:

1

region_id
integer
required

Region id

Example:

1

container_name
string
required

Container name

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9.-]+[a-zA-Z0-9]$
Example:

"my-container"

Body

application/json
commands
string | null

Container's commands

Example:

"python3 app.py -m test"

description
string | null

Container description

Maximum string length: 255
Example:

"My first container"

envs
Envs · object | null

Container environment variables

Example:
flavor
string | null

Container flavor

Pattern: ^[0-9]{0,12}mCPU-[0-9]{0,12}M[i]?B$
Example:

"250mCPU-512MiB"

image
string | null

Container image

Maximum string length: 230
Example:

"nginx:latest"

is_api_key_auth
boolean | null

Enable/Disable api key authentication. Enable api key is temporarily disabled. As a result, using CaaS with authorization is currently not supported.

Example:

false

is_disabled
boolean | null

Set to true if container is disabled

Example:

false

listening_port
integer | null

Container listening port

Required range: 1 <= x <= 65535
Example:

80

logging
LoggingSerializer · object | null

Logging configuration

Example:
pull_secret
string | null

Image pull secret

Example:

"my-secret"

scale
ScaleSerializer · object | null

Container autoscaling

Example:
timeout
integer | null

Container timeout in seconds

Required range: 0 <= x <= 180
Example:

5

Response

200 - application/json

OK

tasks
string[]
required

List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:

  • GET /v1/tasks/{task_id} - Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
Example: