Skip to main content
POST
/
users
/
{userId}
/
Update a user
curl --request POST \
  --url https://dashboard.hologram.io/api/1/users/{userId}/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first": "<string>",
  "last": "<string>",
  "email": "jsmith@example.com"
}
'
{
  "success": true,
  "data": {
    "id": 123,
    "email": "jsmith@example.com",
    "first": "<string>",
    "last": "<string>",
    "role": "<string>",
    "partnerid": 123,
    "registered": "2023-11-07T05:31:56Z",
    "defaultaddressid": 123,
    "personal_org": 123,
    "impersonated_by": {}
  }
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key. You can find your API key on the Hologram Dashboard under Account Settings.

Path Parameters

userId
integer
required

User ID

Body

application/json
first
string

User's first name

last
string

User's last name

email
string<email>

User's email address

Response

OK

success
boolean

Indicates whether the request was successful.

Example:

true

data
object