Skip to main content
POST
Update Edge Script

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Scopes

User
AccessKey
UserApi
AccessKey
SubuserAPICompute
AccessKey
SubuserAPIDns
AccessKey
SubuserCompute
AccessKey
SubuserManage
AccessKey
SubuserAPIManage
AccessKey
ScopedApiKey
AccessKey
User
bearer
UserApi
bearer
SubuserAPICompute
bearer
SubuserAPIDns
bearer
SubuserCompute
bearer
SubuserManage
bearer
SubuserAPIManage
bearer
ScopedApiKey
bearer

Path Parameters

id
integer<int64>
required

The ID of the script that will be updated

Body

application/json

The configuration that should be applied to the script

Name
string | null
Maximum string length: 100
ScriptType
enum<integer>

0 = DNS 1 = CDN 2 = Middleware

Available options:
0,
1,
2

Response

The script with the requested ID

Id
integer<int64>
Name
string | null
LastModified
string<date-time>
ScriptType
enum<integer>

0 = DNS 1 = CDN 2 = Middleware

Available options:
0,
1,
2
CurrentReleaseId
integer<int64>
EdgeScriptVariables
object[] | null
Deleted
boolean
LinkedPullZones
object[] | null
Integration
object | null
DefaultHostname
string | null
SystemHostname
string | null
DeploymentKey
string | null
RepositoryId
integer<int64> | null
IntegrationId
integer<int64> | null
MonthlyCost
number<decimal>
MonthlyRequestCount
integer<int64>
MonthlyCpuTime
integer<int64>