Passa al contenuto principale

HostingCredentialListResponse

Successful response with a list of HostingCredential

errorintegerrequired

Always 0 in a successful response

Constant value: 0
messagestring | nullnullablerequired

Always null in a successful response

data object[]required

Items returned by the operation

  • Array [
  • 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

  • ]
  • metarequired

    Always null: only the paginated lists have a meta

    Constant value: null
    HostingCredentialListResponse
    {
    "error": 0,
    "message": "string",
    "data": [
    {
    "credential_id": 0,
    "type": "string",
    "username": "string",
    "password": "string",
    "root_path": "string",
    "is_active": true
    }
    ]
    }