setLocale method

  1. @deprecated
Future setLocale({
  1. required Locale body,
})

Deprecated, use Update a user profile from the user management REST API instead.

Sets the locale of the user. The locale must be one supported by the instance of Jira.

Permissions required: Permission to access Jira.

Implementation

@deprecated
Future<dynamic> setLocale({required Locale body}) async {
  return await _client.send(
    'put',
    'rest/api/3/mypreferences/locale',
    body: body.toJson(),
  );
}