v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Team Users

Set locale for a team user

This function sets locale for a team user.

get/Team/set_locale

Query parameters

localestring required
Example:es_es

The new locale for the team user.

userstring required
Example:teamuser

The username of the team user.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "set_locale",
  "module": "Team",
  "result": {
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}