PUT
Update a service

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

id
string
required

Service ID

Body

application/json

Update a service

label
string

Human-readable display name for the service

ram_size
number<float>

RAM allocation in MiB (e.g., 64, 128, 256)

disk_size
number<float>

Disk storage in GiB (e.g., 1, 5, 10)

cpu_size
number<float>

CPU allocation in cores (e.g., 0.1, 0.25, 0.5)

public_access
enum<string>

Enable public internet access: '0' disabled, '1' enabled. For postgres type.

Available options:
0,
1
backup_enabled
enum<string>

Enable automatic backups: '0' disabled, '1' enabled. For postgres type.

Available options:
0,
1
scheduled_backup
string

Cron expression for backup schedule (6-field: second minute hour day month weekday). For postgres type.

instances
enum<integer>

Number of database instances (1 for standalone, 3/5/7 for HA cluster). For postgres type.

Available options:
1,
3,
5,
7
project_id
string

Move the service to another project. Requires services:manage. Refused when the service's resource is assigned to projects that do not include the target.

Response

Update a service

Api_V1_Entities_Service model

uuid
string
required

Service UUID

name
string
required

Service name

label
string
required

Display name

service_type
string
required

Service type (postgres, shared_storage)

state
string
required

Current state. While provisioning: pending, processing, creating, stopped. Once running, the live Kubernetes status: healthy (postgres/mysql/valkey), bound (storage), or running when the status is unavailable. Unhealthy: degraded, degradated, failing, lost, crashloopbackoff, failed

project_id
string
required

Associated project UUID

resource_id
string
required

Assigned resource UUID

miget_id
string
required

DEPRECATED: use resource_id instead

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

connection_details
object
required

Connection details for the service

Example: