deleteMountTarget method

Future<void> deleteMountTarget({
  1. required String mountTargetId,
})

Deletes the specified mount target. This operation is irreversible.

May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter mountTargetId : The ID of the mount target to delete.

Implementation

Future<void> deleteMountTarget({
  required String mountTargetId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/mount-targets/${Uri.encodeComponent(mountTargetId)}',
    exceptionFnMap: _exceptionFns,
  );
}