Retrieve the connection information for all the connected applications that have been granted access to this server. This data may include any number of properties, but its primary purpose is to associate API tokens and public/private key pairs and similar resources with a specific connected application.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ list_connected_applications
{- "data": {
- "list": [
- {
- "jwt": {
- "challenge": "ddd13a92-d55e-4818-a960-9776ede6cd74",
- "email": "john.doe@email.example",
- "exp": 1401912171,
- "ips": [
- "1.1.1.1",
- "2.2.2.2"
], - "iss_desc": "Sample application",
- "name": "John Doe",
- "scope": [
- "admin:users",
- "admin:resellers",
- "admin:domains"
], - "state": "xyz"
}, - "name": "application-1",
- "private_key": "FEF6253E6A122532430D",
- "public_key": "AAF6253E6A1225324305623EE",
- "token_name": "Application 1 API Token",
- "property1": null,
- "property2": null
}
]
}, - "metadata": {
- "command": "list_connected_applications",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}