Passa al contenuto principale

HostingCredential

Active FTP or database account of the hosting, with its password

credential_idintegerrequired
typestringrequired

Type of the account: FTP (main FTP account), FTP_SECONDARY (additional FTP account), DATABASE_MYSQL or DATABASE_MSSQL (database account)

usernamestringrequired
passwordstringrequired

Password of the account, in clear text, as in the control panel: a temporary random one while the account is suspended

root_pathstring | nullnullablerequired

Root directory of an FTP_SECONDARY account; null for the other accounts

is_activebooleanrequired

Whether the account is active

HostingCredential
{
"credential_id": 0,
"type": "string",
"username": "string",
"password": "string",
"root_path": "string",
"is_active": true
}