Skip to main content
PUT
/
applications
/
processes
/
{id}
Update process
curl --request PUT \
  --url https://api.sevalla.com/v2/applications/processes/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scaling_strategy": {
    "type": "manual",
    "config": {
      "instanceCount": 25
    }
  },
  "entrypoint": "<string>"
}
'
{
  "process": {
    "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
    "app_id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
    "display_name": "Web Process",
    "entrypoint": "npm start",
    "scaling_strategy": {
      "type": "<string>",
      "config": {}
    },
    "updated_at": 1738195200000,
    "created_at": 1738195200000
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required
Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Body

application/json
scaling_strategy
object
entrypoint
string

Response

Default Response

process
object
required