Skip to main content
PUT
Upsert Secret

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 have the secret upserted

Body

application/json

The secret that will be upserted

Name
string | null
Required string length: 1 - 256
Secret
string | null
Maximum string length: 4096

Response

A new secret was created

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