Currently I have a login, register, update and delete functionality using my api made in Laravel using passport feature. Everything works fine the insertion of data and fetc
Override auth:api middleware, and modify it accordingly to give the response you want.