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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2025-09
required

API version

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