Update user

Update Account User

Updates information for a specific user in your account.

Endpoint

POST v5/accountuser/{user_id}

Requires authentication.

Path Parameters

The user to update.

user_id
string
required
The ID of the account user to update.

Query Parameters  

email
string
A new email address for the user.
username
string
A new display name for the user.
team
integer
The ID of a team to add the user to.
defaultteam
integer
The ID of the team to set as the user's default team.
admin
integer
Whether to grant account administrator privileges. Accepted values: 1 (admin), 0 (standard user).
phone_support
integer
Whether to enable phone support access. Accepted values: 1 (enabled), 0 (disabled).
userstatus
string
The account status to set for the user. Accepted values: Active, Disabled.
license
string
The license type to assign to the user. Accepted values: Full Access, Reporting, Market Researcher, Educational, HR Professional, Basic, Standard.
userdata
object
Custom user data fields to update. Each key is the column name of the custom field.

Response

Returns the updated account user object.

result_ok
boolean
Whether the request succeeded.
data
object
The updated account user object.

Examples

Request (cURL)
curl -X POST "https://api.alchemer.com/v5/accountuser/{{user_id}}?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET&userstatus=Active"
Response
{
  "result_ok": true,
  "data": {
    "id": "123456",
    "username": "Jane Smith",
    "email": "jane.smith@example.com",
    "admin": 1,
    "phone_support": 0,
    "userdata": [],
    "license": "Full Access",
    "defaultteam": "1000125",
    "status": "Active",
    "last_login": "2026-04-06 10:39:20",
    "api_key": "YOUR_API_TOKEN",
    "api_secret": "YOUR_API_TOKEN_SECRET"
  }
}