Skip to main content
PUT
/
o
/
{organisation_id}
/
environments
/
{environment_id}
/
config
UpdateEnvironmentConfig updates the environment config for infrastructure.
curl --request PUT \
  --url https://platform.versori.com/api/v2/o/{organisation_id}/environments/{environment_id}/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "deploymentSpec": {
    "replicas": 123,
    "autoscaling": {
      "maxReplicas": 123
    },
    "staticIP": true,
    "resources": {
      "limits": {
        "cpu": "<string>",
        "memory": "<string>"
      },
      "requests": {
        "cpu": "<string>",
        "memory": "<string>"
      }
    },
    "serviceAccountName": "<string>"
  }
}
'
{
  "code": "<string>",
  "message": "<string>",
  "fields": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ],
  "details": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.versori.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.

Path Parameters

organisation_id
string<ulid>
required
environment_id
string<ulid>
required

Body

application/json
deploymentSpec
object

Response

ok