Skip to main content
POST
Add Variable

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 variable that will be added

Name
string
required
Required string length: 1 - 256
Required
boolean
required
DefaultValue
string | null
Maximum string length: 4096

Response

The script with the requested ID

Id
integer<int64>
Name
string | null
Required
boolean
DefaultValue
string | null