PATCH
/
users
/
{userId}
curl --request PATCH \
  --url https://api.eu.bronto.io/users/{userId} \
  --header 'Content-Type: application/json' \
  --header 'X-BRONTO-API-KEY: <api-key>' \
  --data '{
  "first_name": "Alice",
  "last_name": "Smith",
  "roles": [
    "Admin",
    "Standard",
    "ReadOnly"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john@company.com",
  "roles": [
    "ReadOnly",
    "Standard"
  ],
  "last_logins": {
    "Okta": 1731370728,
    "Password": 1731338939
  },
  "tags": {
    "region": "eu",
    "environment": "production"
  }
}

Authorizations

X-BRONTO-API-KEY
string
header
required

Path Parameters

userId
string
required

Unique identifier of the user to update

Body

application/json

Response

200
application/json

User updated successfully

The response is of type object.