This function calls the WHM API 1 send_test_pushbullet_note
function with the system's specified
Pushbullet™ accounts. You can specify Pushbullet accounts in the Contact Information section of WHM's
Basic WebHost Manager Setup
interface (Home >> Server Configuration >> Basic WebHost Manager Setup).
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ verify_pushbullet_access
{- "data": {
- "results": [
- {
- "access_token": "123456789012345678901234567890",
- "result": {
- "message_id": "554d2cbd-efe61da3cacb",
- "payload": {
- "active": "true,",
- "body": "This message confirms that ??hostname.example.com?? (192.168.0.20) can send a\nmessage to you via Pushbullet.\n\nThis message was sent on Tuesday, March 17, 2020 at 3:09:20 PM UTC.",
- "created": "1584457760.74319,",
- "direction": "self",
- "dismissed": "false,",
- "iden": "ABCDEFGHIJKLABCDEFGHIJKL",
- "modified": "1584457760.74993,",
- "receiver_email": "user@example.com",
- "receiver_email_normalized": "user@example.com",
- "receiver_iden": "ABCDEFGHIJKL",
- "sender_email": "user@example.com",
- "sender_email_normalized": "user@example.com",
- "sender_iden": "ABCDEFGHIJKL",
- "sender_name": "Firstname Lastname",
- "title": "Test message (ID: J2SY)",
- "type": "note"
}
}
}
]
}, - "metadata": {
- "command": "verify_pushbullet_access",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}