Change Retool user from API

Current plan level - Enterprise
Version of Retool (if self-hosted): NA

Question / Description:
Trying to bulk update emails of our retool users no SSO or SCIM configured right now. We tried the retool API to update a user with a token that has permission to update users. I got the following response.

{"success":false,"message":"Unrecognized key: email"}

Is email update supported via user PATCH API? Can someone confirm the endpoints and sample request to make this change?

Regards,

Chaitanya

Hi @chaitanyakcs, I responded by email as well, but I'll respond here as well for anyone that come across this post. Changing emails is not supported by the API. Here is an example of the request body for changing another field, like the last name, as raw JSON.

{
  "operations": [
    {
      "op": "replace",
      "path": "last_name",
      "value": "Shakespeare"
    }
  ]
}
1 Like