Edit a user using API

Hello everyone,
I am facing an issue to edit a user using Api /Users/Users_PutById .i dont know how to give the body .any pls help me.

Hi @Aswathy_K1 ,
welcome to forum

You can follow this solution
regards,

Hello @Aswathy_K1

  1. Send a PUT request.
  2. Set the request URL to https://your-api-url/Users/Users_PutById/{userId}.
  3. Include the header: Content-Type: application/json.
  4. In the request body, specify the updated user data in JSON format.
  5. Use tools like cURL, Postman, or a programming language (e.g., Python with requests library).

Thanks & Cheers!!!

i tried in swagger but it is showing user not found.


i given the body like this

{“Name”: “test1”,

“Surname”: “”,

“UserName”: “test1232”

}

how can i do the 2nd step