deleteRepository method

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

Deletes the repository data stored by the given ID and all related development information entities. Deletion is performed asynchronously.

Implementation

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