deleteByProperties method

Future<void> deleteByProperties({
  1. required String authorization,
  2. int? updateSequenceId,
})

Deletes development information entities which have all the provided properties. Entities will be deleted that match ALL of the properties (i.e. treated as an AND). For example if request is DELETE bulk?accountId=123&projectId=ABC entities which have properties accountId=123 and projectId=ABC will be deleted. Special property _updateSequenceId can be used to delete all entities with updateSequenceId less or equal than the value specified. In addition to the optional _updateSequenceId, one or more query params must be supplied to specify properties to delete by. Deletion is performed asynchronously: specified entities will eventually be removed from Jira.

Implementation

Future<void> deleteByProperties(
    {required String authorization, int? updateSequenceId}) async {
  await _client.send(
    'delete',
    'rest/devinfo/0.10/bulkByProperties',
    queryParameters: {
      if (updateSequenceId != null) '_updateSequenceId': '$updateSequenceId',
    },
  );
}