Auth0 Home Blog Docs

Conditional request for management API

api
management-api

#1

Hi,

In a concurrent environment, I need to update the “allowed callback origin” field in the client resource. I want to make sure I’m not overriding potential changes made between my GET and PATCH call. This kind of optimistic locking is usually implemented in a REST scenario with conditional requests as described here on MDN.

I was wondering if this is something the management API supports right now or will very soon. If not, do you know any other way of implementing optimistic locking with this API?