I am also having a similar issue, I tried to delete the customer with the same API but getting this error
{
"errorMessage": "Customers cannot be removed from this service desk because it has open access enabled",
"i18nErrorMessage": {
"i18nKey": "sd.jsm.error.servicedesk.customer.remove.servicedesk.open.access",
"parameters": []
}
}