Update User
This endpoint allows you to update the user information for a specific user within a customer account. The request requires the userId
and customerId
to be provided. The user must have appropriate permissions to update user details.
Endpoint Information
URL:
https://account.testinium.com/account/api/v1/customers/{id}/users/{userId}
Method:
PUT
Authentication: Required (
Bearer Token
)Header: Required (
current-company-id: <your_company_id>
)
Path Parameters
id
Long
Yes
The unique ID of the customer.
userId
Long
Yes
The unique ID of the user to update.
Request
The request body should contain the updated information for the user. You can update fields such as name
, surname
, username
, email
, and other user-related properties.
Response
The response returns the updated information of the user.
Error Codes
400
INVALID_REQUEST
The request was malformed or contained errors.
403
ACCESS_DENIED
The user lacks permission to update this information.
404
USER_NOT_FOUND
No user was found for the specified userId
.
500
INTERNAL_SERVER_ERROR
An unexpected error occurred on the server side.
Example Request
4o mini
Last updated