Open mike503 opened 1 year ago
I can issue manual curl requests with -X DELETE against https://envoyer.io/data/projects/{$project->id}/collaborators/{$collab->id} and it works, so there is something under the hood that isn't sending to the right URI.
if I'm reading it right, on(project) actually crafts a URI based on /api/projects/{$project->id}/path, whereas the base for collaborator removing is /data and not /api.
It sounds like there could have been API changes - feel free to drop a PR if you like otherwise I will add it to my list of things to do
When trying to remove a collaborator from a project, it doesn't work, var_dump() on the return value shows this:
Here's an example snippet: