deleteFeatureFlagsByProperty method

Future<void> deleteFeatureFlagsByProperty({
  1. int? updateSequenceId,
})

Bulk delete all Feature Flags that match the given request.

One or more query params must be supplied to specify Properties to delete by. Optional param _updateSequenceId is no longer supported. If more than one Property is provided, data will be deleted that matches ALL of the Properties (e.g. treated as an AND). See the documentation for the submitFeatureFlags operation for more details.

e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456

Deletion is performed asynchronously. The getFeatureFlagById operation can be used to confirm that data has been deleted successfully (if needed).

Only Connect apps that define the jiraFeatureFlagInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

Implementation

Future<void> deleteFeatureFlagsByProperty({int? updateSequenceId}) async {
  await _client.send(
    'delete',
    'rest/featureflags/0.1/bulkByProperties',
    queryParameters: {
      if (updateSequenceId != null) '_updateSequenceId': '$updateSequenceId',
    },
  );
}