uapi --user=username Email list_pops_with_disk get_restrictions=1
Hello @rdgonzalez,I did the tests and it works very well. It would be great if we could also get hold status.
# uapi --user=user123 Email list_pops_with_disk get_restrictions=1|grep suspended_outgoing
suspended_outgoing: 0
suspended_outgoing: 1
suspended_outgoing: 1
# uapi --user=user123 Email list_pops_with_disk get_restrictions=1|grep hold_outgoing
hold_outgoing: 0
hold_outgoing: 0
hold_outgoing: 0
json-api/cpanel?api.version=1&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=list_pops_with_disk&cpanel_jsonapi_user=username123&cpanel_jsonapi_apiversion=3&get_restrictions=1
https://hostname:2087/cpsess12345678/json-api/cpanel?api.version=1&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=list_pops_with_disk&cpanel_jsonapi_user=username123&cpanel_jsonapi_apiversion=3&get_restrictions=1
Hello,Internal case DOC-11207 is now open to ensure this parameter is documented. I'll update this thread again once the documentation update is published.