Team Users

Set locale for a team user

This function sets locale for a team user.

get/Team/set_locale

Request

  • Base URL
    https://cpanel-server.tld:2083/execute
  • Auth
    HTTP basic

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
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.