Users

Update user

post/console/v1/users/{email}

Path parameters

emailstring required

email

Request body

rolestring

Update the user's role. Can be 'Admin', 'Read Only', 'Member', or any custom role name.

firstNamestring

Update the user's first name.

lastNamestring

Update the user's last name.

Response

Update user response

messagestring required

A simple string explaining the result of the operation.

Example response

{
  "message": "User updated successfully.",
  "data": {
    "userID": "5sgBiiuoBX4fscrWdCXVma",
    "email": "test@statsig.com",
    "firstName": "test",
    "lastName": "user",
    "role": "admin"
  }
}

Changes

No recorded changes to this endpoint across all 8 revisions of this API.