Logs / Log Stream - Remove role from member missing info

Hello,

I’m looking to use log streaming to maintain our own internal logs. When a role is removed from a member of an organization, the streamed log record shows that the API call was a “delete” and the path’s route gives us the organization and user involved, e.g: /api/v2/{org_id}/members/{user_id}/roles

However, the POST body is empty, presumably because it’s a DELETE instead of a POST. As such, I’m unable to see which roles were removed. I’m using the c# client, and see that the roles to remove are indeed passed in the body, but the body is empty in the streamed log record. How can I determine which roles were removed from the user?

My guess is there’s some logic in auth0’s backend that strips out the body when the http method is DELETE.

Did you figure this one out Rob, or anyone else?

No, they never responded. I just maintain the list of roles in the db on my side, and when a deletion happens, I fetch their new roles and compare to the existing ones.