PATCH
/
fastedge
/
v1
/
apps
/
{id}
curl --request PATCH \
  --url https://api.gcore.com/fastedge/v1/apps/{id} \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "binary": 123,
  "template": 123,
  "status": 123,
  "env": {
    "var1": "value1",
    "var2": "value2"
  },
  "rsp_headers": {
    "header1": "value1",
    "header2": "value2"
  },
  "log": "kafka",
  "debug": false,
  "comment": "<string>",
  "secrets": {}
}'
{
  "id": 123,
  "name": "<string>",
  "url": "<string>",
  "status": 123,
  "binary": 123,
  "comment": "<string>",
  "api_type": "<string>",
  "debug_until": "2023-11-07T05:31:56Z",
  "template": 123,
  "template_name": "<string>",
  "networks": [
    "<string>"
  ],
  "upgradeable_to": 123,
  "plan_id": 123,
  "plan": "<string>"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

id
integer
required

ID of the app

Body

application/json

App details

The body is of type object.

Response

200
application/json

Ok

The response is of type object.