Skip to main content
PUT
/
users
/
{userId}
Update a user
curl --request PUT \
  --url https://production.runalloy.com/users/{userId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-version: <x-api-version>' \
  --data '{
  "username": "<string>",
  "fullName": "<string>"
}'
{
  "userId": "6323d7c9122ae69742a5d0a2",
  "fullName": "Gregg Mojica",
  "username": "greggmojica"
}

Headers

Authorization
string
default:bearer YOUR_API_KEY
required
x-api-version
string
default:2025-09
required

The version of the API to use. The current API version is 2025-09.

Path Parameters

userId
string
required

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.

Body

application/json
username
string

The unique identifier of the user

fullName
string

The name of the user

Response

200

userId
string
Example:

"6323d7c9122ae69742a5d0a2"

fullName
string
Example:

"Gregg Mojica"

username
string
Example:

"greggmojica"

I