Skip to main content
POST
Add Edge Script

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Body

application/json
Name
string | null
Maximum string length: 100
Code
string | null
ScriptType
enum<integer>

0 = DNS 1 = CDN 2 = Middleware

Available options:
0,
1,
2
CreateLinkedPullZone
boolean
LinkedPullZoneName
string | null
Integration
object | null

Response

The script was successfully added

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>
Last modified on July 22, 2026