# Setting web\_origins when creating a client using the Management API

**URL:** <https://community.auth0.com/t/setting-web-origins-when-creating-a-client-using-the-management-api/9130>\
**Category:** Get Help\
**Tags:** client, management-api\
**Created:** [January 4, 2018, 5:33pm UTC](https://community.auth0.com/t/setting-web-origins-when-creating-a-client-using-the-management-api/9130 "2018-01-04T17:33:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbentsen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mbentsen/32/7563_2.png) [@mbentsen](https://community.auth0.com/u/mbentsen)\
**Post date:** [January 4, 2018, 5:33pm UTC](https://community.auth0.com/t/setting-web-origins-when-creating-a-client-using-the-management-api/9130/1 "2018-01-04T17:33:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [January 4, 2018, 6:49pm UTC](https://community.auth0.com/t/setting-web-origins-when-creating-a-client-using-the-management-api/9130/2 "2018-01-04T18:49:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 9:28am UTC](https://community.auth0.com/t/setting-web-origins-when-creating-a-client-using-the-management-api/9130/3 "2019-07-25T09:28:13Z")

</div>


