deletePermissionSchemeEntity method

Future<void> deletePermissionSchemeEntity({
  1. required int schemeId,
  2. required int permissionId,
})

Deletes a permission grant from a permission scheme. See About permission schemes and grants for more details.

Permissions required: Administer Jira global permission.

Implementation

Future<void> deletePermissionSchemeEntity(
    {required int schemeId, required int permissionId}) async {
  await _client.send(
    'delete',
    'rest/api/3/permissionscheme/{schemeId}/permission/{permissionId}',
    pathParameters: {
      'schemeId': '$schemeId',
      'permissionId': '$permissionId',
    },
  );
}