deleteScreen method

Future<void> deleteScreen(
  1. int screenId
)

Deletes a screen. A screen cannot be deleted if it is used in a screen scheme, workflow, or workflow draft.

Only screens used in classic projects can be deleted.

Implementation

Future<void> deleteScreen(int screenId) async {
  await _client.send(
    'delete',
    'rest/api/3/screens/{screenId}',
    pathParameters: {
      'screenId': '$screenId',
    },
  );
}