deleteType method
Deletes a Type object.
May throw BadRequestException.
May throw ConcurrentModificationException.
May throw InternalFailureException.
May throw NotFoundException.
May throw UnauthorizedException.
Parameter apiId :
The API ID.
Parameter typeName :
The type name.
Implementation
Future<void> deleteType({
required String apiId,
required String typeName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/apis/${Uri.encodeComponent(apiId)}/types/${Uri.encodeComponent(typeName)}',
exceptionFnMap: _exceptionFns,
);
}