deleteRegistry method

Future<void> deleteRegistry({
  1. required String registryName,
})

Deletes a Registry.

May throw BadRequestException. May throw UnauthorizedException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException.

Parameter registryName : The name of the registry.

Implementation

Future<void> deleteRegistry({
  required String registryName,
}) async {
  ArgumentError.checkNotNull(registryName, 'registryName');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/registries/name/${Uri.encodeComponent(registryName)}',
    exceptionFnMap: _exceptionFns,
  );
}