Error Delect User For API -> 503

aboyitdev

Verified User
Joined
Aug 10, 2020
Messages
5
Location
Việt Nam
Hi everybody .
I am getting an error that returns the following result after executing api to delete the user
"Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. "
I checked it deleted this user successfully but instead of returning error = 0 or 1 it was this message so I can't continue executing my code after deleting the user.
I am using DirectAdmin version 1.59.4.
Can someone help me, I have a demo test available if you need it.
Thanks very much .
function deletedb ($da,$namedbdt)
{
$result = $da->query('/CMD_API_DATABASES',
array(
'action' => 'delete',
'select0' => $namedbdt,
));
//$result = $da->fetch_parsed_body();
return $result;
// print_r($result);
}
 
Back
Top