Website

Get user info for a website

get/v1/hosting/websites/{website_id}/user_info

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Response

User info

status'ok' | 'error'

Example response

{
  "status": "ok",
  "data": {
    "mysql": {
      "db_name": "DB_NAME",
      "password": "DB_PASSWORD",
      "path": "PHP_ADMIN_URL",
      "type": "mysql",
      "username": "USERNAME"
    },
    "sftp": {
      "password": "SFTP_PASS",
      "port": 22,
      "type": "sftp",
      "username": "SFTP_USERNAME"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.