PUT
/
fastedge
/
v1
/
apps
/
{id}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
app_short = client.fastedge.apps.replace(
    id=0,
)
print(app_short.id)
{
  "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

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

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.