Replace the complete configuration of an existing application. All fields must be provided - use PATCH for partial updates.
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
ID of the WebAssembly binary to deploy
x >= 112345
Status code:
0 - draft (inactive)
1 - enabled
2 - disabled
5 - suspended
0 <= x <= 21
Unique application name (alphanumeric, hyphens allowed)
1 - 64^[a-z0-9][a-z0-9-]*[a-z0-9]$"my-edge-app"
Template ID
Environment variables
{ "var1": "value1", "var2": "value2" }Extra headers to add to the response
{ "header1": "value1", "header2": "value2" }Logging channel. Use 'kafka' to enable log collection (queryable via API), or 'none' to disable logging.
kafka, none "kafka"
Enable verbose debug logging for 30 minutes. Automatically expires to prevent performance impact.
false
Optional human-readable description of the application's purpose
1024"Production API gateway for customer portal"
Application secrets
Application edge stores
Application updated successfully, returns updated metadata
App ID
x >= 1App name
Status code:
0 - draft (inactive)
1 - enabled
2 - disabled
3 - hourly call limit exceeded
4 - daily call limit exceeded
5 - suspended
Binary ID
Wasm API type
Application plan ID
App URL
Description of the binary
When debugging finishes
Template ID
Template name
Networks
ID of the binary the app can be upgraded to
Application plan name