Api Keys endpoints
User endpoints
Export endpoints
Logs endpoints
Usage endpoints
Search endpoints
User endpoints
Updates a user
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
Path Parameters
Unique identifier of the user to update
Body
application/json
Response
200
application/json
User updated successfully
The response is of type object
.
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"
}
}
Assistant
Responses are generated using AI and may contain mistakes.