# Managment api update issues

**URL:** <https://community.auth0.com/t/managment-api-update-issues/83716>\
**Category:** Get Help\
**Created:** [May 19, 2022, 9:44am UTC](https://community.auth0.com/t/managment-api-update-issues/83716 "2022-05-19T09:44:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![psr11140](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/psr11140/32/36486_2.png) [@psr11140](https://community.auth0.com/u/psr11140)\
**Post date:** [May 19, 2022, 9:44am UTC](https://community.auth0.com/t/managment-api-update-issues/83716/1 "2022-05-19T09:44:16Z")

</div>

Hi, I am new to auth0 so i ll try to explain the best I can:  
I am using the auth0 api for the management of user(create delete update…) the thing is when I try the update i have multiple issues.  
frist i cant update multiple properties at the same time (like email and username, password and email, etc…)  
second i tried then to modify only fiew properties and it worked when i used the auth0 api directly but when i try with my code or even with postman it send me a badrequest (for postman the bad request was “not found”) even though Im doing the same thing that i did directly with auth0 api.

PS: I did the same for the delete action i sended a request and it worked(in my code and postman with the same parameters) thats why i dont get the reason behind that “not found”.

 ![Capture d’écran 2022-05-19 114132](https://global.discourse-cdn.com/auth0/original/3X/2/9/29fb0f583b247b9788e7c5f9b8fde572a723a7d9.png)  
 ![Capture d’écran 2022-05-19 114138](https://global.discourse-cdn.com/auth0/original/3X/3/d/3d31eb07964148a2a8a8e482e128dbc02692b1a8.png)

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [May 19, 2022, 7:59pm UTC](https://community.auth0.com/t/managment-api-update-issues/83716/3 "2022-05-19T19:59:22Z")

</div>

Hi @psr11140 ,

Welcome to the Auth0 Community!

In your screenshots, there is no Authorization key. Could you please get the Auth0 Management API access token and add the key for both requests in Postman and try again?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/c/eccf3f4b49af9db68ef6b4c6576a9a5397270c40.jpeg)

 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/3/531a42784c3a0bb421c6d464c46c307a87b0403a.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![psr11140](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/psr11140/32/36486_2.png) [@psr11140](https://community.auth0.com/u/psr11140)\
**Post date:** [May 20, 2022, 5:44am UTC](https://community.auth0.com/t/managment-api-update-issues/83716/4 "2022-05-20T05:44:15Z")

</div>

Hi, thank you for the reply, but unfortunetely it didnt work. actually the header authorization was there before too, i just didnt scroll to display it .

 ![Capture d’écran 2022-05-20 074625](https://global.discourse-cdn.com/auth0/original/3X/b/d/bdf1776787e27a324a09f42f142c860f7d803cb7.png)

it is weird because i tried again with other action like the get method and it works it found the user with the id.

 ![Capture d’écran 2022-05-20 073655](https://global.discourse-cdn.com/auth0/original/3X/4/7/47e76ce039400447429c782dcc7a6d92065ba7d3.png)

and the update method in the auth0 api works fine with the same token, body and id i used in postman.

 ![Capture d’écran 2022-05-20 073646](https://global.discourse-cdn.com/auth0/original/3X/b/f/bf8d6c40b122e72fc77c1f2bb66e13e8429287df.png)

 ![Capture d’écran 2022-05-20 073756](https://global.discourse-cdn.com/auth0/original/3X/b/3/b348bb74e82746cf46fd1625a9377343226a96ca.png)

So i still dont understand why it doesnt work with the update method.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [May 20, 2022, 6:04am UTC](https://community.auth0.com/t/managment-api-update-issues/83716/5 "2022-05-20T06:04:36Z")

</div>

Just noticed that in Postman, you used the PUT request. Actually it should be PATCH. Could you please give it a try?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/c/6/c632be51412b3c88f2e38793030af738dab3e7ef.png)

---

<div class="post-metadata">

**Author:** ![psr11140](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/psr11140/32/36486_2.png) [@psr11140](https://community.auth0.com/u/psr11140)\
**Post date:** [May 20, 2022, 7:07am UTC](https://community.auth0.com/t/managment-api-update-issues/83716/6 "2022-05-20T07:07:18Z")

</div>

yes that was the issue , it works now, thank you for the help.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [February 2, 2023, 5:13pm UTC](https://community.auth0.com/t/managment-api-update-issues/83716/7 "2023-02-02T17:13:16Z")

</div>


