curl --request PATCH \
--url https://api.gcore.com/fastedge/v1/admin/apps/{id} \
--header 'Authorization: <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": {},
"stores": {
"country_allow": 1,
"ip_block": 2
}
}'
{
"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>"
}
curl --request PATCH \
--url https://api.gcore.com/fastedge/v1/admin/apps/{id} \
--header 'Authorization: <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": {},
"stores": {
"country_allow": 1,
"ip_block": 2
}
}'
{
"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>"
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
ID of the app
App details
The body is of type object
.
Ok
The response is of type object
.
Was this page helpful?