deleteRegistry method
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,
);
}