Set locale for a team user

This function sets locale for a team user.

SecurityBasicAuth
Request
query Parameters
locale
required
string

The new locale for the team user.

Example: locale=es_es
user
required
string

The username of the team user.

Example: user=teamuser
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Team/set_locale
Request samples
uapi --output=jsonpretty \
  --user=username \
  Team \
  set_locale \
  user='teamuser' \
  locale='es_es'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "set_locale",
  • "module": "Team",
  • "result": {
    • "data": { },
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}