deleteRegistry method

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

Deletes a Registry.

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

Parameter registryName : The name of the registry.

Implementation

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