PUT
/
applications
/
processes
/
{id}
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": 8
    }
  },
  "entrypoint": "node index.js"
}'
{
  "process": {
    "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
    "app_id": "882b80af-576c-4fdc-ba4f-b596c83f9ksh",
    "display_name": "Web process",
    "entrypoint": "node index.js",
    "scaling_strategy": {
      "type": "manual",
      "config": {
        "instanceCount": 8
      }
    },
    "updated_at": 1695300630620,
    "created_at": 1695300630620
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Body

application/json

Response

200
application/json

Process updated successfully

The response is of type object.