updateUiModification method

Future updateUiModification({
  1. required String uiModificationId,
  2. required UpdateUiModificationDetails body,
})

Updates a UI modification. UI modification can only be updated by Forge apps.

Each UI modification can define up to 1000 contexts.

Permissions required:

  • None if the UI modification is created without contexts.
  • Browse projects project permission for one or more projects, if the UI modification is created with contexts.

Implementation

Future<dynamic> updateUiModification(
    {required String uiModificationId,
    required UpdateUiModificationDetails body}) async {
  return await _client.send(
    'put',
    'rest/api/3/uiModifications/{uiModificationId}',
    pathParameters: {
      'uiModificationId': uiModificationId,
    },
    body: body.toJson(),
  );
}