Skip to main content

Update User

PUT 

https://embedded.runalloy.com/2024-03/one/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

Body

    username string

    The unique identifier of the user

    fullName string

    The name of the user

Responses

200

{
"userId": "65611d1c85ad57325e469u09",
"fullName": "Charles Carmichael",
"username": "charlesc@runalloy.com"
}
curl -L -X PUT 'https://embedded.runalloy.com/2024-03/one/users/:userId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"username": "string",
"fullName": "string"
}'
Request Collapse all
Base URL
https://embedded.runalloy.com/2024-03/one
Parameters
— pathrequired
— headerrequired
Body
{
  "username": "string",
  "fullName": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!