When I call the API with a request to
call
$response
The errors property is getting caught by my validation code.
I've never seen an error before with status:1
call
Code:
/json-api/cpanel?cpanel_jsonapi_apiversion=3&cpanel_jsonapi_user=permission2&cpanel_jsonapi_module=SSL&cpanel_jsonapi_func=toggle_ssl_redirect_for_domains&domains=subdomain.xyz.xyz&state=1
Code:
{
"module": "SSL",
"apiversion": 3,
"result": {
"messages": null,
"status": 1,
"metadata": {
"transformed": 1
},
"errors": [
"The event UAPI::SSL::toggle_ssl_redirect_for_domains was handled successfully."
],
"data": [
1
],
"warnings": null
},
"func": "toggle_ssl_redirect_for_domains"
}
I've never seen an error before with status:1
Last edited by a moderator: