Update User
PUT/users/:userId
Updates a user given a specified userId. This endpoint allows you to update a username or fullName and returns the updated user object.
Request
Path Parameters
userId stringrequired
The Id of the user you want to lookup. Returned from the Create User endpoint. Note: you can also use the Embedded user's username
in this field.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
- application/json
Body
username string
The unique identifier of the user
fullName string
The name of the user
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
userId string
fullName string
username string
{
"userId": "65611d1c85ad57325e469u09",
"fullName": "Charles Carmichael",
"username": "charlesc@runalloy.com"
}
{
"userId": "65611d1c85ad57325e469u09",
"fullName": "Charles Carmichael",
"username": "charlesc@runalloy.com"
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...