Setting web_origins when creating a client using the Management API

I am using the management API to create clients and I need to set the web_origins in that process. This is however not possible as I get a payload validation error: Additional properties not allowed: web_origins.

It seems it is possible to add the web_origins when updating a client. So to achieve what I want I have to first create the client and then update the web_origins in a consecutive call. Am I missing something or is that the intended behavior?

I would not go so far as calling the intended behavior, however, the reality is that the use of a PATCH call is indeed what is available for now. I’ll submit an item to the backlog about the lack of support at creation time.