deleteConfig method
Future<ConfigIdResponse>
deleteConfig({
- required String configId,
- required ConfigCapabilityType configType,
Deletes a Config.
May throw DependencyException.
May throw InvalidParameterException.
May throw ResourceNotFoundException.
Parameter configId :
UUID of a Config.
Parameter configType :
Type of a Config.
Implementation
Future<ConfigIdResponse> deleteConfig({
required String configId,
required ConfigCapabilityType configType,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/config/${Uri.encodeComponent(configType.value)}/${Uri.encodeComponent(configId)}',
exceptionFnMap: _exceptionFns,
);
return ConfigIdResponse.fromJson(response);
}