renameScreenTab method

Future<ScreenableTab> renameScreenTab({
  1. required int screenId,
  2. required int tabId,
  3. required ScreenableTab body,
})

Updates the name of a screen tab.

Permissions required: Administer Jira global permission.

Implementation

Future<ScreenableTab> renameScreenTab(
    {required int screenId,
    required int tabId,
    required ScreenableTab body}) async {
  return ScreenableTab.fromJson(await _client.send(
    'put',
    'rest/api/3/screens/{screenId}/tabs/{tabId}',
    pathParameters: {
      'screenId': '$screenId',
      'tabId': '$tabId',
    },
    body: body.toJson(),
  ));
}