API Authentication Using Tokens
I've successfully used xmlapi but now read that it is deprecated and will be removed in WHM v70, so I'm trying to instead use an API token for authentication (rather than a hash as I read that hash authentication is also deprecated). I've set Tweak Settings > cPanel & WHM API shell (for developers): On and I've followed the {'data'}->{'acct'} as $userdetails) {
echo "\t" . $userdetails->{'user'} . "\n";
}
}
curl_close($curl);
?>
I've checked that 'list-accts' is enabled in the token settings. Any ideas please?
I've checked that 'list-accts' is enabled in the token settings. Any ideas please?
-
Hello, I'm glad to see you solved the issue. Thank you for sharing the outcome. 0
Please sign in to leave a comment.
Comments
2 comments