Delete row from table using custom endpoint via API

A few things to try… Confirm you are using POST and not GET when hitting the endpoint. Postman could be helpful here.

It appears you are testing your endpoint using Pretty Permalinks. Confirm you have Post Name permalink structure setup.
This might be the solution to your problem.

If that works however you are wanting to use Plain Permalinks format add the rest_route query parameter.

Example:
/wp-json/lic-api/v1/deletecustomrow/3
becomes
/?rest_route=/lic-api/v1/deletecustomrow/3